编写题解 1267: A+B Problem 摘要:解题思路:设定一个整数“a”和“b”参考代码:#includeusing namespace std;int main(){ int a; int b; cin>>a>>b; …… 题解列表 2023年12月02日 0 点赞 0 评论 344 浏览 评分:9.9
编写题解 1038: [编程入门]宏定义练习之三角形面积 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c; cin>>a>>b…… 题解列表 2023年12月02日 0 点赞 0 评论 249 浏览 评分:9.9
题解 2775: 等差数列末项计算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,n,m; cin>>a>>b>>n; …… 题解列表 2023年12月02日 0 点赞 0 评论 188 浏览 评分:9.9
1038: [编程入门]宏定义练习之三角形面积 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c; cin>>a>>b…… 题解列表 2023年12月02日 0 点赞 0 评论 240 浏览 评分:9.9
题解 1806: [编程基础]输入输出练习之第二个数字 摘要:解题思路:输入三个正整数,取其第二个数字,即:a,b,c中的b;注意事项:别输错数,别选错语言(C++);参考代码:#include<bits/stdc++.h>using namespace std…… 题解列表 2023年12月02日 0 点赞 0 评论 437 浏览 评分:9.9
编写题解 2762: 计算(a+b)*c的值 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; int b; int c; cin>>a…… 题解列表 2023年12月02日 1 点赞 0 评论 601 浏览 评分:9.9
题解 1038: [编程入门]宏定义练习之三角形面积 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>#define area sqrt(S*(S-a)*(S-b)*(S-c))#define S ((a+b+c)/2)usi…… 题解列表 2023年12月02日 0 点赞 0 评论 370 浏览 评分:9.9
编写题解 1038: [编程入门]宏定义练习之三角形面积 摘要:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a; double b; cin>>a>>b;…… 题解列表 2023年12月02日 0 点赞 0 评论 296 浏览 评分:9.9
题解 2775: 等差数列末项计算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,n,m; cin>>a>>b>>n; m=…… 题解列表 2023年12月02日 0 点赞 0 评论 221 浏览 评分:9.9
宏定义练习之三角形面积 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c; cin>>a>>b…… 题解列表 2023年12月02日 0 点赞 0 评论 175 浏览 评分:9.9