题解列表

筛选

2773: 计算线段长度

摘要:```cpp #include #include #include using namespace std; int main() { double xa, xb, ya, ……

判断水仙花

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){    int n,ge,shi,bai;    //scanf("%d",&n)……

3020: 最大数位置

摘要:``` #include using namespace std; int a[100000],n,maxx,num; int main(){ cin>>n; maxx = -1; ……

简单求和训练

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){    float a,b,c;    float sum=0,sum1=0,su……

结构体之成绩统计

摘要:解题思路:注意事项:参考代码#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <string.h> // 定义学生结构体……

字符串排序

摘要:解题思路:和数字比较大小一样注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){    char a[100];    char b[100……