2019: 滚动的榜单(C语言版) 摘要:解题思路:由题意得:第m个选手的名次只需要和第1—(m-1)个人的成绩相比较注意事项:arr[3000]数组容量要注意,看清题意,我刚开始做的时候,容量定义50,系统判别就是不对。参考代码:#incl…… 题解列表 2022年03月01日 0 点赞 0 评论 381 浏览 评分:9.9
蓝桥杯算法训练VIP-数的统计 摘要:#include<iostream>#include<algorithm>using namespace std;const int N=1005;int arr1[N];int arr2[N];in…… 题解列表 2022年03月01日 0 点赞 0 评论 238 浏览 评分:0.0
动态规划-最长上升子序列模型,注意前一次和后一次的美味度可相等! 摘要:#include<iostream>using namespace std;const int N=1005;int a[N],dp[N];int main(){ int n; cin>>…… 题解列表 2022年03月01日 0 点赞 0 评论 304 浏览 评分:0.0
[STL训练]Who's in the Middle 摘要:```cpp #include using namespace std; #include #include bool cmp(int a,int b){ return a < b;…… 题解列表 2022年03月01日 0 点赞 0 评论 397 浏览 评分:0.0
C语言训练-大、小写问题 为什么不能 gets(a); strlwr(a);这样写? 摘要:解题思路:注意事项:参考代码: &nb 题解列表 2022年03月01日 0 点赞 0 评论 330 浏览 评分:0.0
超级简单的进制转换 摘要:解题思路:八进制表示%o注意事项:参考代码:#include<stdio.h> int main() { int n; scanf("%d",&n); printf("%o",n); …… 题解列表 2022年03月01日 0 点赞 0 评论 426 浏览 评分:9.9
C语言训练-列出最简真分数序列* 摘要:解题思路: 40 的因数有1,2,4,5,8,10,20,40,;2和5是质因数,所以判断条件:分子对这两个因数取余都不等于0,就是最简。注意事项:参考代码: …… 题解列表 2022年03月01日 0 点赞 0 评论 470 浏览 评分:9.9
求问大佬,为啥时间超限了 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { long int i, a, b, t; int c = 0, max = 0; int m = 0, k;…… 题解列表 2022年03月01日 0 点赞 2 评论 236 浏览 评分:0.0
1458: 蓝桥杯2013年第四届真题-错误票据 摘要: #include #include #include #include using namespace std; const int …… 题解列表 2022年03月01日 0 点赞 0 评论 274 浏览 评分:0.0