1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a, b, c = 1,d = 0; c…… 题解列表 2024年01月15日 0 点赞 0 评论 185 浏览 评分:0.0
[编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ long long m,n,r=0,p=0; cin>>…… 题解列表 2024年01月15日 0 点赞 0 评论 158 浏览 评分:0.0
题解 1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long m,n; cin>>m>>…… 题解列表 2024年01月15日 0 点赞 0 评论 145 浏览 评分:0.0
题解 1147: C语言训练-角谷猜想 摘要:解题思路:没什么难想的。注意事项:在写判断奇数时要再写个不等于1,不然会无限重复。参考代码:#include <bits/stdc++.h>using namespace std;int main()…… 题解列表 2024年01月15日 0 点赞 0 评论 176 浏览 评分:9.9
1008:成绩入门评定 摘要:解题思路:注意事项:参考代码:#include <iostream>using namespace std;int main(){ int n; cin>>n; if(n>=90) { cout<<…… 题解列表 2024年01月14日 0 点赞 0 评论 486 浏览 评分:0.0
1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:先算最大公倍数(或最小公倍数)然后用(n*m)/最大公约数(或最小公倍数)注意事项:n*m=最大公约数*最小公倍数参考代码:#include <iostream>using namespac…… 题解列表 2024年01月14日 0 点赞 0 评论 144 浏览 评分:9.9
2751: 超级玛丽游戏 摘要:解题思路:注意事项:参考代码:/*#include<iostream>using namespace std;int main(){ cout<<" *******…… 题解列表 2024年01月14日 0 点赞 2 评论 275 浏览 评分:9.9
2751: 超级玛丽游戏 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ cout<<" ********"…… 题解列表 2024年01月14日 0 点赞 1 评论 182 浏览 评分:9.9
题解 3016: 第几项 摘要:解题思路:注意事项:不要输出“s”参考代码:#include <iostream>using namespace std;int main(){ int m,i=1,s=0; cin>>m…… 题解列表 2024年01月14日 0 点赞 0 评论 165 浏览 评分:0.0
3016;第几项 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long m,sum=0; cin>…… 题解列表 2024年01月14日 0 点赞 1 评论 145 浏览 评分:2.0