糖果游戏(简单一般法) 摘要:解题思路:就是一个很简单的循环加上条件分支。注意事项:参考代码:#include<stdio.h>int main(){ int a[5]; int i=0; for(i=0;i<5…… 题解列表 2022年11月19日 0 点赞 6 评论 1064 浏览 评分:9.9
只是写写注意事项 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d",&a); getchar(); //这里写…… 题解列表 2022年11月19日 0 点赞 0 评论 832 浏览 评分:9.9
1181: 不容易系列2 摘要:```cpp #include using namespace std; int main() { int n; while(cin>>n) { …… 题解列表 2022年11月19日 0 点赞 0 评论 441 浏览 评分:9.9
1182: 人民币问题 摘要:```cpp #include using namespace std; int main() { int a,b,c,count=0; int sum; cin…… 题解列表 2022年11月19日 0 点赞 0 评论 350 浏览 评分:9.9
[Python]自定义函数处理最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:def yue(a,b): if a < b: a,b = b,a for i in range(2,b+1): if a%i =…… 题解列表 2022年11月19日 0 点赞 0 评论 278 浏览 评分:0.0
1183: 人见人爱A+B 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; while(n--) …… 题解列表 2022年11月19日 0 点赞 0 评论 444 浏览 评分:9.9
2749: Hello, World! 摘要:```cpp #include using namespace std; int main() { cout…… 题解列表 2022年11月19日 0 点赞 0 评论 694 浏览 评分:6.8
2750: 字符菱形 摘要:```cpp #include #include using namespace std; int main() { char a; a=getchar(); for(int i…… 题解列表 2022年11月19日 0 点赞 0 评论 1114 浏览 评分:8.8
数列解析 供大家讨论 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i,n,k; int count=0; …… 题解列表 2022年11月19日 0 点赞 0 评论 262 浏览 评分:0.0
1087: A+B for Input-Output Practice (III) C语言代码 摘要: #include int main() { int a,b; while(1) { …… 题解列表 2022年11月19日 0 点赞 0 评论 535 浏览 评分:9.9