题解 2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double xa,ya,xb,yb; cin…… 题解列表 2023年12月09日 0 点赞 0 评论 441 浏览 评分:9.9
题解 3007: 收费 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a; cin>>a; if…… 题解列表 2023年12月09日 0 点赞 0 评论 269 浏览 评分:9.9
编写题解 2998: 电影票 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int x; cin>>x; cout<<x<<…… 题解列表 2023年12月09日 0 点赞 0 评论 548 浏览 评分:9.9
题解 2766: 甲流疫情死亡率 摘要:解题思路:sum通过static_cast(b)/a*100对进行强制转换就可以得到正确结果啦注意事项:要进行强制转换,要不然你的b/a*100,会出现0的情况。参考代码:#include<iostr…… 题解列表 2023年12月09日 0 点赞 0 评论 725 浏览 评分:9.9
题解 2782: 整数大小比较 摘要:解题思路:无注意事项:要注意:c++中的“=”是“==”参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b;…… 题解列表 2023年12月09日 0 点赞 0 评论 410 浏览 评分:8.0
2768: 与圆相关的计算 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double a,b,c,d; cin>>a;…… 题解列表 2023年12月09日 0 点赞 0 评论 519 浏览 评分:9.9
编写题解 3004: 成绩 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; …… 题解列表 2023年12月09日 0 点赞 0 评论 325 浏览 评分:9.9
题解 2780: 奇偶数判断 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a; cin>>a; if(a%…… 题解列表 2023年12月09日 0 点赞 0 评论 456 浏览 评分:9.9
1806: [编程基础]输入输出练习之第二个数字 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c;…… 题解列表 2023年12月09日 0 点赞 0 评论 873 浏览 评分:6.0
题解 2781: 奇偶ASCII值判断 摘要:解题思路:要输出no或yes注意事项:字符型是自动转整数的。参考代码:#include <bits/stdc++.h>using namespace std;int main(){ char a…… 题解列表 2023年12月09日 0 点赞 0 评论 507 浏览 评分:9.9