题解 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:用&&参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; …… 题解列表 2023年12月17日 0 点赞 0 评论 125 浏览 评分:0.0
编写题解 3007: 收费 摘要:解题思路:注意事项:不要用int,用double参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double a; …… 题解列表 2023年12月17日 0 点赞 0 评论 239 浏览 评分:0.0
sort和unique轻松解决 摘要: #include using namespace std; #define ll long long const int maxn = 1e6 + 50; …… 题解列表 2023年12月17日 0 点赞 0 评论 243 浏览 评分:9.9
1038: [编程入门]宏定义练习之三角形面积 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c; cin >> a>…… 题解列表 2023年12月16日 0 点赞 0 评论 114 浏览 评分:0.0
2757: 浮点数向零舍入 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double n; cin>>n; if(n>0…… 题解列表 2023年12月16日 0 点赞 0 评论 326 浏览 评分:9.9
2769: 计算并联电阻的阻值 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double r1,r2; cin>>r1>>r2;…… 题解列表 2023年12月16日 0 点赞 0 评论 174 浏览 评分:9.9
编写题解 2771: 大象喝水 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double h,r,m; cin>>h>>r…… 题解列表 2023年12月16日 0 点赞 0 评论 212 浏览 评分:9.9
2759: 打印字符 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; cin>>a; cout<<(char)a;…… 题解列表 2023年12月16日 0 点赞 0 评论 220 浏览 评分:9.9
编写题解 2997: 梯形面积 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double e; e=150*2/15*(15…… 题解列表 2023年12月16日 0 点赞 0 评论 596 浏览 评分:9.9
2774: 计算三角形面积 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double x1,y1,x2,y2,x3,y3,a…… 题解列表 2023年12月16日 0 点赞 0 评论 232 浏览 评分:9.9