1124大小写问题(遍历一次就行) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char a[110]; gets(a); int sz=strlen(a)…… 题解列表 2024年06月12日 0 点赞 0 评论 483 浏览 评分: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 评论 403 浏览 评分:0.0
1122亲密数(一个for循环+一个求和函数解决) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;//这里是求一个数的因子之和//注意的是,它包括 1 ,但不包括本身int sushu(int…… 题解列表 2024年06月12日 0 点赞 0 评论 523 浏览 评分:0.0
1121 8除不尽的数(直接输出1993就行了) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout << "1993"; return 0;}…… 题解列表 2024年06月12日 0 点赞 0 评论 567 浏览 评分:0.0
1120水仙花数2(for循环求解) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ for (int i = 100; i …… 题解列表 2024年06月12日 0 点赞 0 评论 422 浏览 评分: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 评论 323 浏览 评分:0.0
1118Tom数(单个字符while循环求和输出) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ char a; int sum = …… 题解列表 2024年06月12日 0 点赞 0 评论 342 浏览 评分:0.0
电报加密C++ 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <string>#include <stdlib.h>using namespace std;int main()…… 题解列表 2024年06月12日 0 点赞 0 评论 425 浏览 评分:8.0
编写题解 1051: [编程入门]结构体之成绩统计2 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> struct a{ char s1[9]; char s2[9]; …… 题解列表 2024年06月12日 0 点赞 0 评论 447 浏览 评分:0.0
编写题解 1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h> struct a{ char s1[9]; char s2[9]; int a1; int …… 题解列表 2024年06月12日 0 点赞 0 评论 367 浏览 评分:0.0