[编程入门]数字的处理与判断c++ 摘要:解题思路:分别求出它是几位数,输出每一位数字,按逆序输出各位数字注意事项:顺序不要混了参考代码:#include<iostream>#include<fstream>#include<algorith…… 题解列表 2022年05月09日 0 点赞 0 评论 484 浏览 评分:9.9
不用看我的,留个记录给自己印象 摘要:解题思路: 看前面那位,写的非常好,写此题解完全为了做笔记 分两种情况,第一种后面一个数为0,那就确定2位,长度加2,但是此时step要加1,"0_" 第二种是不为0的情况,长度加1…… 题解列表 2022年05月09日 0 点赞 0 评论 429 浏览 评分:9.9
编写题解 1402: 简单的字符串,简单易懂 摘要:解题思路:只要搞清楚逻辑就很容易理解!从第一个字符开始,判断后面是否有连续字母跟它相等的,如果有则count++;否则跳出循环,随后再从不相等的字符开始判断注意事项:多个字符串输入的格式,要用到nex…… 题解列表 2022年05月09日 0 点赞 0 评论 444 浏览 评分:9.9
汽水瓶 (超级简单,直接输出)! 摘要:解题思路:有个规律!直接看程序!注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;int n;int main(){ while(scanf…… 题解列表 2022年05月09日 0 点赞 0 评论 359 浏览 评分:0.0
1670: 拆分位数 摘要:解题思路:注意事项://合理运用%和/参考代码:#include<iostream>#include<fstream>#include<algorithm>using namespace std;lo…… 题解列表 2022年05月09日 0 点赞 0 评论 295 浏览 评分:0.0
1671: 小九九 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a;int main(){ for(int i=1;i<=9;i…… 题解列表 2022年05月09日 0 点赞 0 评论 304 浏览 评分:0.0
1671: 小九九 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a;int main(){ for(int i=1;i<=9;i…… 题解列表 2022年05月09日 0 点赞 0 评论 262 浏览 评分:0.0
C语言训练-求矩阵的两对角线上的元素之和 摘要:解题思路:模拟注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int i[11][11],n;int main(){ cin>>n; for(…… 题解列表 2022年05月09日 0 点赞 0 评论 425 浏览 评分:0.0
自定义函数之字符串连接 题解(超简单)(c++) 摘要:解题思路:就不是直接输出两个字符串嘛!套个字符串。注意事项:无。参考代码:#include<bits/stdc++.h>using namespace std;string a,b;void zh(s…… 题解列表 2022年05月09日 0 点赞 0 评论 434 浏览 评分:0.0
[编程入门]有规律的数列求和 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<fstream>#include<algorithm>using namespace std;long long n…… 题解列表 2022年05月09日 0 点赞 0 评论 306 浏览 评分:0.0