编写题解 3020: 最大数位置 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){int n,max=0; cin>>n;int a[n];fo…… 题解列表 2024年06月11日 0 点赞 0 评论 346 浏览 评分:0.0
编写题解 1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h> struct a{ char s1[9]; char s2[9]; int a1; int …… 题解列表 2024年06月12日 0 点赞 0 评论 261 浏览 评分:0.0
编写题解 1051: [编程入门]结构体之成绩统计2 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> struct a{ char s1[9]; char s2[9]; …… 题解列表 2024年06月12日 0 点赞 0 评论 342 浏览 评分:0.0
1118Tom数(单个字符while循环求和输出) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ char a; int sum = …… 题解列表 2024年06月12日 0 点赞 0 评论 162 浏览 评分:0.0
1119水仙花数问题1(使用%1d的输入方式获取每一位数) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int a; int b; int c;…… 题解列表 2024年06月12日 0 点赞 0 评论 159 浏览 评分:0.0
1120水仙花数2(for循环求解) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ for (int i = 100; i …… 题解列表 2024年06月12日 0 点赞 0 评论 208 浏览 评分:0.0
1121 8除不尽的数(直接输出1993就行了) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout << "1993"; return 0;}…… 题解列表 2024年06月12日 0 点赞 0 评论 379 浏览 评分:0.0
1122亲密数(一个for循环+一个求和函数解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;//这里是求一个数的因子之和//注意的是,它包括 1 ,但不包括本身int sushu(int…… 题解列表 2024年06月12日 0 点赞 0 评论 313 浏览 评分:0.0
1123列出最简真分数序列(只要排除2和5的倍数的数就行啦) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ for (int i = 1; i < 40; i++) { if …… 题解列表 2024年06月12日 0 点赞 0 评论 245 浏览 评分:0.0
1124大小写问题(遍历一次就行) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[110]; gets(a); int sz=strlen(a)…… 题解列表 2024年06月12日 0 点赞 0 评论 324 浏览 评分:0.0