[编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n,m;int main(){ cin>>n>>m; f…… 题解列表 2022年05月24日 0 点赞 0 评论 142 浏览 评分:0.0
[编程入门]数字的处理与判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string n;int main(){ cin>>n; cout<<n.size…… 题解列表 2022年05月24日 0 点赞 0 评论 157 浏览 评分:0.0
[编程入门]成绩评定 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n;int main(){ cin>>n; if(n>=…… 题解列表 2022年05月24日 0 点赞 0 评论 282 浏览 评分:6.0
[编程入门]三个数找最大值 摘要:解题思路:max注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a,b,c;int main(){ cin>>a>>b>>c; co…… 题解列表 2022年05月24日 0 点赞 0 评论 217 浏览 评分:0.0
[编程入门]分段函数求值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n;int main(){ cin>>n; if(n<1…… 题解列表 2022年05月24日 0 点赞 0 评论 192 浏览 评分:0.0
优质题解 回文数(二)普通C++写法,分模块讲解 摘要:解题思路:根据题意我们知道实现程序的话,主要是下面函数的循环:定义cot = 0,cot是用来记录循环次数 由于(0<=M<=maxlongint)较大,我们使用数组进行储存数据,防止数据过大溢出…… 题解列表 2022年05月24日 0 点赞 0 评论 1024 浏览 评分:7.7
[编程入门]水仙花数判断 C++ 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ cout<<153<<endl<<370<<endl<…… 题解列表 2022年05月23日 0 点赞 0 评论 189 浏览 评分:0.0
1016: [编程入门]水仙花数判断(c++) 摘要:解题思路:注意事项:参考代码:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a=0,b=0,c=0; …… 题解列表 2022年05月23日 0 点赞 0 评论 428 浏览 评分:9.9
1001: [编程入门]第一个HelloWorld程序(c++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<"*************************…… 题解列表 2022年05月23日 0 点赞 0 评论 324 浏览 评分:6.0
1000: [竞赛入门]简单的a+b(c++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; while(ci…… 题解列表 2022年05月23日 0 点赞 0 评论 178 浏览 评分:6.0