数字整除-题解(C++代码) 摘要:解题思路:注意要考虑大数的储存,我用的是,字符转数字的方法。而且解题考虑最终结果就好,过程尽量简单。注意事项:参考代码:#include <iostream>#include <cstring>usi…… 题解列表 2020年08月25日 0 点赞 0 评论 1142 浏览 评分:5.6
奇数个数-题解(C语言代码) 摘要:解题思路:注意事项:除以二的数是偶数;参考代码:#include <stdio.h>#include <string.h>int main(){ char a[50]; scanf("%s",&a);…… 题解列表 2020年08月25日 0 点赞 0 评论 941 浏览 评分:5.0
求总时间-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; double time,sum=0; scanf("%d",&n); time=30; for(…… 题解列表 2020年08月25日 0 点赞 0 评论 652 浏览 评分:0.0
考试评级-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n; scanf("%d",&n); if(n>=80&&n<=100) printf("A\n");…… 题解列表 2020年08月25日 0 点赞 0 评论 533 浏览 评分:0.0
鸡兔同笼-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int s; scanf("%d",&s); for(int i=0;i<=40;i++) { for(in…… 题解列表 2020年08月25日 0 点赞 0 评论 688 浏览 评分:0.0
蓝桥杯算法提高VIP-超级玛丽-题解(C语言代码) 摘要:#include<stdio.h> int n,m,a[50],b[50],c; int main() { scanf("%d%d",&n,&m); int i; for(i=0;i…… 题解列表 2020年08月25日 0 点赞 0 评论 810 浏览 评分:0.0
分段计算-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int x; scanf("%d",&x); if(x<3) printf("%d",2*x); else i…… 题解列表 2020年08月25日 0 点赞 0 评论 668 浏览 评分:0.0
求阶梯水费-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int x,price=0; scanf("%d",&x); if(x<15) printf("%d",2*x…… 题解列表 2020年08月25日 0 点赞 0 评论 865 浏览 评分:0.0
求平均工资-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int n,a[n],sum=0; scanf("%d",&n); for(int i=0;i<n;i++) …… 题解列表 2020年08月25日 0 点赞 0 评论 534 浏览 评分:0.0
蓝桥杯算法提高VIP-超级玛丽-题解(C语言代码) 摘要:#include<stdio.h> int n,m,a[50],b[50],c,cou=0,dx[2]={1,2}; void dfs(int x) { if(x==n) { …… 题解列表 2020年08月25日 0 点赞 0 评论 834 浏览 评分:0.0