aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(i…… 题解列表 2023年07月11日 0 点赞 0 评论 374 浏览 评分:0.0
1267: A+B Problem 摘要:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b ; cin>>a>>b ; cout<<a+b…… 题解列表 2023年07月11日 0 点赞 0 评论 460 浏览 评分:7.3
1120: C语言训练-"水仙花数"问题2 摘要:解题思路: 就是一个一个用for循环试。。。注意事项: 这样的数有4个!4个!4个!重要的事情说三遍!!!参考代码:方法一:#include<bits/stdc++.h>using namespac…… 题解列表 2023年07月11日 0 点赞 0 评论 304 浏览 评分:9.9
*****************************最大公约数与最小公倍数***************************** 摘要:解题思路 有那么亿点点多注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,maxx=0; …… 题解列表 2023年07月11日 0 点赞 0 评论 385 浏览 评分:9.9
1011: [编程入门]最大公约数与最小公倍数 摘要:参考代码:#includeusing namespace std;int main(){ int a,b,maxx = 0; cin>>a>>b; for(int i = 1;i<=…… 题解列表 2023年07月11日 0 点赞 0 评论 456 浏览 评分:9.9
[编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int m,n,maxx=0; cin>>m>…… 题解列表 2023年07月11日 0 点赞 0 评论 274 浏览 评分:9.9
aaaaaaaaaaaaaaaaaaaaaaaaaaaaa 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int m,n,maxx=0,minn=0; cin…… 题解列表 2023年07月11日 0 点赞 0 评论 514 浏览 评分:0.0
题解 1011: 最大公约数与最小公倍数 摘要:解题思路:先想一想,m和n的公约数要满足什么条件?m%b==0&&n%b==0那么“最大”呢?for(b=1000000/*其实任意一个大于m和n的数均可*/;;b--)以此类推,也可以得出m和n的最…… 题解列表 2023年07月11日 0 点赞 2 评论 369 浏览 评分:9.9
2780: 奇偶数判断 摘要:解题思路: 没啥,用if+取余运算就行参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n ; cin>>n …… 题解列表 2023年07月11日 0 点赞 0 评论 560 浏览 评分:9.9
python 知识点:字符统计 简单易懂 摘要:解题思路:学习python第一天注意事项: python的在线编译器用不了参考代码:# 字符串的统计 str.count('字符串') 输出为int类型的个数str=input()a0…… 题解列表 2023年07月11日 0 点赞 1 评论 513 浏览 评分:4.7