1011: [编程入门]最大公约数与最小公倍数 摘要:解题思路:辗转相除法注意事项:参考代码:#include <stdio.h>int gcd(int m, int n){ if (m % n == 0) return n; else re…… 题解列表 2023年12月30日 0 点赞 0 评论 288 浏览 评分:0.0
1015:【编程入门】求和训练 摘要:解题思路:将1到a的和,1到b的平方和,1到c的倒数和依次求出,最后将这三项和相加。注意事项:注意输出答案要保留2位小数。参考代码:#include<stdio.h>int main(){ in…… 题解列表 2023年12月30日 0 点赞 0 评论 266 浏览 评分:0.0
2791: 计算邮资 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a; char c; cin>>a…… 题解列表 2023年12月30日 0 点赞 0 评论 403 浏览 评分:9.9
题解 1480: 模拟计算器 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; char c; int result; scanf("%d%d",&a…… 题解列表 2023年12月30日 0 点赞 0 评论 244 浏览 评分:9.9
题解 2792: 三角形判断 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; if(a…… 题解列表 2023年12月30日 0 点赞 0 评论 282 浏览 评分:9.9
2789: 骑车与走路 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int b,c; double a; cin>>a…… 题解列表 2023年12月30日 0 点赞 0 评论 219 浏览 评分:0.0
题解 2789: 骑车与走路 摘要:解题思路: 各位好,我们学了if的结构,想要知道它的结构请看我的文章我来把关于此题if的结构写出来注意事项:参考代码:#include<iostream>using namespace std;int…… 题解列表 2023年12月30日 0 点赞 0 评论 318 浏览 评分:9.9
2792: 三角形判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c;…… 题解列表 2023年12月30日 0 点赞 0 评论 271 浏览 评分:9.9
1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c…… 题解列表 2023年12月30日 0 点赞 0 评论 255 浏览 评分:0.0
题解 1043: [编程入门]三个数字的排序 摘要:解题思路:论坛是个好东西,写完自己的代码后要去多逛逛下面来总结这道题的三种解法方法一:三目运算符求解最大数:(a>b?a:b)>c?(a>b?a:b):c)最小数:(a<b?a:b)<c?(a<b?a…… 题解列表 2023年12月30日 0 点赞 0 评论 316 浏览 评分:9.9