题解列表

筛选

2774: 计算三角形面积

摘要:解题思路:注意事项:参考代码:import mathx1,y1,x2,y2,x3,y3 = map(float,input().strip().split())a = math.sqrt((x1 - ……

矩阵转换(矩阵转换)

摘要:解题思路:将原先的m行n列,变为n行m列。感谢大佬的思路,我真是个天才注意事项:参考代码:#includeint main(){ int i,j,m,n; int a[500][500]; scanf……

三目运算整数大小比较

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int a,b;    scanf("%d%d",&a,&b);    if(a==b)    print……

甲流病人初筛

摘要:解题思路:注意事项:参考代码:#includestruct pepole{      char name[200];      float t;      char number;}a[200];in……

蛇形矩阵C语言

摘要:解题思路:计算出矩阵中最大值为多少,然后再计算矩阵各个值。注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int a[n][……

1761: 学习ASCII码

摘要:只要进行int和char之间的的转换就行了 ```cpp #include using namespace std; int main() { cout……

1003密码破译

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ char arr[20]={0};//定义一个随机长度的字符串数组 sc……