编写题解 2787: 有一门课不及格的学生 摘要:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; if(a>=60&&b<60||a<6…… 题解列表 2023年12月23日 0 点赞 0 评论 185 浏览 评分:0.0
题解 2773: 计算线段长度 摘要:解题思路:注意事项:参考代码:#inalude <bitz/stdc+-.h>uerng namespace std;doqble xa,ya,xb,yb,c;int maie(){ cin>>…… 题解列表 2023年12月23日 0 点赞 0 评论 202 浏览 评分:9.9
写题解 2771: 大象喝水 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ /** while(16534123412387…… 题解列表 2023年12月23日 0 点赞 0 评论 217 浏览 评分:9.9
图像相似度 摘要:解题思路:分别存入两个列表,一一比对注意事项:参考代码:m,n=map(int,input().split())myList1=[list(map(int,input().split())) for …… 题解列表 2023年12月23日 0 点赞 0 评论 204 浏览 评分:0.0
题解 1038: [编程入门]宏定义练习之三角形面积 摘要:解题思路:注意事项:参考代码:1.根据题目给的公式,输入a,b,c分别为三角形的三条边,S为(a+b+c)/2(这个就是著名的海伦公式),置到这两个东西之后就可以直接求解area了,由于题目要求使用宏…… 题解列表 2023年12月23日 0 点赞 0 评论 434 浏览 评分:9.9
题解 2772: 苹果和虫子 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){float n, x, y, s;cin …… 题解列表 2023年12月23日 0 点赞 0 评论 226 浏览 评分:9.9
题解 2760: 整型与布尔型的转换 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; bool b; cin>>a; b=a;…… 题解列表 2023年12月23日 0 点赞 0 评论 293 浏览 评分:9.9
题解 2757: 浮点数向零舍 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ double n; cin>…… 题解列表 2023年12月23日 0 点赞 0 评论 322 浏览 评分:9.9
题解 2759: 打印字符 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a; cin>>a; putchar(a);…… 题解列表 2023年12月23日 0 点赞 0 评论 256 浏览 评分:9.9
题解 2758: 打印ASCII码 摘要:解题思路:注意事项:参考代码:2758: 打印ASCII码知识点知识点1:强制类型转换我们都知道,数据类型有整型int、浮点型float、字符char等等。我们可以通过在变量前面加括号,对已有的类型进…… 题解列表 2023年12月23日 0 点赞 0 评论 238 浏览 评分:9.9