题解 2760: 整型与布尔型的转换 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; bool b; cin>>a; b=a;…… 题解列表 2023年12月23日 0 点赞 0 评论 426 浏览 评分:9.9
题解 2772: 苹果和虫子 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){float n, x, y, s;cin …… 题解列表 2023年12月23日 0 点赞 0 评论 310 浏览 评分:9.9
题解 1038: [编程入门]宏定义练习之三角形面积 摘要:解题思路:注意事项:参考代码:1.根据题目给的公式,输入a,b,c分别为三角形的三条边,S为(a+b+c)/2(这个就是著名的海伦公式),置到这两个东西之后就可以直接求解area了,由于题目要求使用宏…… 题解列表 2023年12月23日 0 点赞 0 评论 552 浏览 评分:9.9
写题解 2771: 大象喝水 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ /** while(16534123412387…… 题解列表 2023年12月23日 0 点赞 0 评论 315 浏览 评分:9.9
题解 2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#inalude <bitz/stdc+-.h>uerng namespace std;doqble xa,ya,xb,yb,c;int maie(){ cin>>…… 题解列表 2023年12月23日 0 点赞 0 评论 258 浏览 评分:9.9
题解 2784: 收集瓶盖赢大奖 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; if(a>=…… 题解列表 2023年12月23日 0 点赞 0 评论 236 浏览 评分:9.9
题解 2787: 有一门课不及格的学生 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2023年12月23日 0 点赞 0 评论 291 浏览 评分:9.9
2787: 有一门课不及格的学生 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int x,y; cin >> x >>y ;…… 题解列表 2023年12月23日 0 点赞 0 评论 324 浏览 评分:9.9
题解 2780: 奇偶数判断 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n ; cin>>n ; if(n…… 题解列表 2023年12月23日 0 点赞 0 评论 390 浏览 评分:9.9
题解 2787: 有一门课不及格的学生 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; if(a>=…… 题解列表 2023年12月23日 0 点赞 0 评论 270 浏览 评分:9.9