蓝桥杯算法提高VIP-复数求和-题解(Python代码) 摘要:参考代码:n = int(input()) s,x = 0,0 for _ in range(n): a,b = map(int,input().split()) s += a…… 题解列表 2020年09月28日 0 点赞 0 评论 750 浏览 评分:9.9
蓝桥杯2013年第四届真题-错误票据-题解(C语言代码) 摘要:```cpp #include using namespace std; int main(){ int n,temp,i; int que,chong; int hash[1000…… 题解列表 2020年09月28日 0 点赞 0 评论 398 浏览 评分:0.0
C语言训练-尼科彻斯定理-题解(C语言代码) 摘要:```c #include #include int main(){ int b; while(scanf("%d",&b)!=-1){ int a=pow(b-1,2)+(b-1-1)…… 题解列表 2020年09月28日 0 点赞 0 评论 612 浏览 评分:9.9
字符逆序-题解(C语言代码) 摘要:解题思路:定义两个数组进行前后交换注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str1[100]; …… 题解列表 2020年09月28日 0 点赞 0 评论 415 浏览 评分:0.0
蓝桥杯算法提高VIP-陶陶摘苹果2-题解(Java代码) 摘要:解题思路:注意事项:注意她还有个板凳30参考代码:import java.util.Scanner;public class Main { public static void main(String…… 题解列表 2020年09月28日 0 点赞 0 评论 407 浏览 评分:0.0
[编程入门]宏定义之找最大数-题解(Python代码) 摘要:如果只是为了答题,那这样也彳亍a,b,c=map(int,input().split()) s=max(a,b,c) print("%.3f" % s) print("%.3f" % s)…… 题解列表 2020年09月28日 0 点赞 0 评论 794 浏览 评分:0.0
蓝桥杯2018年第九届真题-自描述序列-题解(C++代码)S 摘要:解题思路:S第一种思路,就是暴力求解,根据题目给出的规律,很容易用O(n)的时间求出1*10^6的数据,这样就已经获得30%的分数了,再往后就会超时。第二种思路,g[]数据表示相应的下标出现的次数,那…… 题解列表 2020年09月28日 0 点赞 1 评论 1335 浏览 评分:9.7
蓝桥杯算法提高VIP-字符串跳步-题解(Java代码) 摘要:解题思路:注意事项:参考代码: public static void main(String[] args) { Scanner sr=new Scanner(System.in); …… 题解列表 2020年09月28日 0 点赞 0 评论 633 浏览 评分:0.0
蓝桥杯2015年第六届真题-奇怪的数列-题解(Java代码) 摘要:解题思路:注意事项:参考代码: Scanner sr=new Scanner(System.in); int a=sr.nextInt();//开始 int …… 题解列表 2020年09月28日 0 点赞 0 评论 642 浏览 评分:9.9
C语言训练-字符串正反连接-题解(Java代码)超简单 摘要:解题思路:注意事项:参考代码: Scanner sr=new Scanner(System.in); String str=sr.next(); …… 题解列表 2020年09月28日 0 点赞 0 评论 809 浏览 评分:0.0