谁家孩子跑最慢*(数学很好做,直接输出结果) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<'W'; return 0;}…… 题解列表 2022年10月28日 0 点赞 2 评论 436 浏览 评分:7.3
邮票组合问题*(数学做,直接编结果) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ cout<<"19"; return 0;}…… 题解列表 2022年10月28日 0 点赞 0 评论 493 浏览 评分:7.3
2923: 病人排队 摘要:解题思路:注意事项:参考代码://插入排序与字符串交换 #include <stdio.h> #include <string.h> int main() { int n = 0, …… 题解列表 2022年10月28日 0 点赞 2 评论 381 浏览 评分:9.9
1872:春夏秋冬判断 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int month; while(scanf("%d",&month)!=EOF) { if(month>=…… 题解列表 2022年10月29日 0 点赞 0 评论 401 浏览 评分:0.0
Monkey————链表合并 摘要: //用了冒泡排序法和选择排序法,提交发现选择排序法通过快一点,具体原因母鸡 //遗憾的是两个排序法我嫌麻烦没分装成函数,见谅 #includ…… 题解列表 2022年10月29日 0 点赞 0 评论 566 浏览 评分:9.9
2226 .c语言练习 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c,t; a=b=c=t=0; scanf("%d %d %d",&a,&b,&c); if(…… 题解列表 2022年10月29日 0 点赞 0 评论 381 浏览 评分:0.0
1011.最大公约数与最小公倍数c语言练习 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int m,n,x,y,t; scanf("%d %d",&m,&n); y=m*n; while(n!=0)…… 题解列表 2022年10月29日 0 点赞 0 评论 346 浏览 评分:0.0
阶乘和数*(第二个数不知道为什么出不来,思路很简单) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int f(int n) //阶乘 { int …… 题解列表 2022年10月29日 0 点赞 0 评论 375 浏览 评分:8.7
基于陈阿水的解,我自己总结 摘要:解题思路:后k位的循环节是后k-1位循环节的倍数测试输入输出可以看到,输入是100位,输出也是100位,所以使用数组的方式来计算使用数组方式编写三个辅助函数void Reverse_entry(cha…… 题解列表 2022年10月29日 0 点赞 0 评论 889 浏览 评分:9.9
阿姆斯特朗数(保证你会C++) 摘要:解题思路:我开始主要难点在于分离每一个数,有的有2个,有的有3个,建议写个每个数的处理函数,阶乘同理,都可以套用注意事项:参考代码:#include<iostream>using namespace …… 题解列表 2022年10月29日 0 点赞 0 评论 415 浏览 评分:9.9