2774: 计算三角形面积 摘要:解题思路:注意事项:参考代码:import mathx1,y1,x2,y2,x3,y3 = map(float,input().strip().split())a = math.sqrt((x1 - …… 题解列表 2022年11月26日 0 点赞 0 评论 764 浏览 评分:9.3
矩阵转换(矩阵转换) 摘要:解题思路:将原先的m行n列,变为n行m列。感谢大佬的思路,我真是个天才注意事项:参考代码:#includeint main(){ int i,j,m,n; int a[500][500]; scanf…… 题解列表 2022年11月27日 0 点赞 0 评论 526 浏览 评分:9.3
编写题解 2796: 求整数的和与均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; int i = 0; int m; long int sum = 0; double ave…… 题解列表 2022年12月03日 0 点赞 0 评论 840 浏览 评分:9.3
[编程入门]Sn的公式求和 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(void){ int n; cin>>n; int Sn=0; …… 题解列表 2022年12月09日 0 点赞 0 评论 371 浏览 评分:9.3
三目运算整数大小比较 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; scanf("%d%d",&a,&b); if(a==b) print…… 题解列表 2022年12月12日 0 点赞 0 评论 669 浏览 评分:9.3
甲流病人初筛 摘要:解题思路:注意事项:参考代码:#includestruct pepole{ char name[200]; float t; char number;}a[200];in…… 题解列表 2022年12月31日 0 点赞 3 评论 583 浏览 评分:9.3
蛇形矩阵C语言 摘要:解题思路:计算出矩阵中最大值为多少,然后再计算矩阵各个值。注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n][…… 题解列表 2023年01月05日 0 点赞 2 评论 287 浏览 评分:9.3
2766: 甲流疫情死亡率 摘要:```cpp #include #include using namespace std; int main() { int a,b; cin>>a>>b; c…… 题解列表 2023年01月10日 0 点赞 0 评论 722 浏览 评分:9.3
1761: 学习ASCII码 摘要:只要进行int和char之间的的转换就行了 ```cpp #include using namespace std; int main() { cout…… 题解列表 2023年01月12日 1 点赞 0 评论 1262 浏览 评分:9.3
1003密码破译 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char arr[20]={0};//定义一个随机长度的字符串数组 sc…… 题解列表 2023年01月29日 0 点赞 2 评论 269 浏览 评分:9.3