1091: A+B for Input-Output Practice (VII) 摘要:```cpp #include using namespace std; int main() { int a,b; while(cin>>a>>b) c…… 题解列表 2022年08月31日 0 点赞 0 评论 431 浏览 评分:9.9
1092: A+B for Input-Output Practice 摘要:```cpp #include using namespace std; int main() { int n,en,x,sum; cin>>n; for(int…… 题解列表 2022年08月31日 0 点赞 0 评论 316 浏览 评分:9.9
1093: 字符逆序 摘要:要注意,a数组是一个字符串数组,输入后最后一项是‘\0’,因此第8行的strlen(a)还要-1 ```cpp #include #include using namespace std; …… 题解列表 2022年08月31日 0 点赞 0 评论 333 浏览 评分:9.9
优质题解 题解1153: C语言训练-谁家孩子跑最慢*(C-两种解法) 摘要:# C语言:谁家孩子跑最慢 ## 题目: 张、王、李三家各有三个小孩。一天,三家的九个孩子在一起比赛短跑。 规定不分年龄大小,跑第一得9分,跑第2得8分,依此类推。 比赛结果…… 题解列表 2022年08月31日 1 点赞 0 评论 1787 浏览 评分:8.7
题解 1154: C语言训练-邮票组合问题(C) 摘要:参考代码:#include<stdio.h> int main(void){ int i,j,sum,sum1=0; int n=0; for(i=0;i<5;i++){ fo…… 题解列表 2022年08月31日 0 点赞 0 评论 365 浏览 评分:0.0
1094: 字符串的输入输出处理 摘要:```cpp #include using namespace std; int main() { int n; cin>>n; getchar(); …… 题解列表 2022年08月31日 0 点赞 0 评论 568 浏览 评分:9.9
1095: The 3n + 1 problem 摘要:```cpp #include using namespace std; int main() { int m,n,max; while(cin>>m>>n) {…… 题解列表 2022年08月31日 0 点赞 0 评论 503 浏览 评分:9.9
1096: Minesweeper 摘要:```cpp #include #include using namespace std; const int maxn=101; int n,m,x[maxn],y[maxn],vist[…… 题解列表 2022年08月31日 0 点赞 0 评论 393 浏览 评分:9.9
1097: 蛇行矩阵 摘要:```cpp #include using namespace std; int main() { int x,cnt=1,mat[100][100]; for(int j…… 题解列表 2022年08月31日 0 点赞 0 评论 325 浏览 评分:9.9
1098: 陶陶摘苹果 摘要:```cpp #include using namespace std; int main() { int a[10],n,sum=0; for(int i=0;i>a[i…… 题解列表 2022年08月31日 0 点赞 0 评论 395 浏览 评分:9.9