蓝桥杯算法训练VIP-连续正整数的和-题解(Python代码)python开荒柘 非暴力题解!奇偶讨论 摘要:先上代码 ```python n=int(input()) re=[] for i in range(2,n): if i%2==0 and n/i==n//i+0.5 and n//i+…… 题解列表 2020年04月02日 0 点赞 0 评论 922 浏览 评分:6.0
[编程入门]结构体之成绩记录-题解(C语言代码) 摘要: #include typedef struct{ char num[10]; char name[10]; int score[…… 题解列表 2020年04月02日 0 点赞 0 评论 595 浏览 评分:0.0
[编程入门]结构体之时间设计-题解(C语言代码) 摘要: #include typedef struct{ int year; int month; int day; }dat…… 题解列表 2020年04月02日 0 点赞 0 评论 1042 浏览 评分:0.0
[编程入门]三个数字的排序-题解(C语言代码) 摘要: # include int main() { int a, b, c, i, j, k; scanf(…… 题解列表 2020年04月02日 0 点赞 0 评论 785 浏览 评分:8.0
蓝桥杯算法提高VIP-和最大子序列-题解(C语言代码) 摘要: # include int main(void){ int n, thisum=0, maxsum=0, i, val; scanf("%d",…… 题解列表 2020年04月02日 0 点赞 1 评论 735 浏览 评分:0.0
[编程入门]三个字符串的排序-题解(C语言代码) 摘要:结果是错的,是从大到小,系统判定为正确 cde afg abc cde afg abc -------------------------------- Process exi…… 题解列表 2020年04月02日 0 点赞 0 评论 794 浏览 评分:0.0
31.简化型背包-题解(C++代码)只做最好的思路! 摘要:这题有点坑,但从表面看来力求最大值,好像可以用贪心,于是就入坑了,错误67%,o(╥﹏╥)o。。。代码如下: ```cpp #include using namespace std; st…… 题解列表 2020年04月01日 0 点赞 0 评论 1125 浏览 评分:9.9
汽水瓶-题解(C语言代码) 摘要:```c #include int main() { int i,l,t,a[11]; i=0; while(scanf("%d",&a[i])!=EOF) i++; l=…… 题解列表 2020年04月01日 0 点赞 0 评论 644 浏览 评分:0.0
母牛生小牛-题解(C++代码) 摘要:```cpp #include using namespace std; long long num(long long n) { long long i,a[n+1]; a[0]=0…… 题解列表 2020年04月01日 0 点赞 0 评论 1005 浏览 评分:9.9
[编程入门]C语言循环移位-题解(C语言代码) 摘要: #include int main(void) { int i = 0, n = 0; int ary[32] = {0,}; …… 题解列表 2020年04月01日 0 点赞 0 评论 817 浏览 评分:0.0