题解列表

筛选

编写题解 1951: 求平方和

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int A,B; scanf("%d%d",&A,&B); printf("%d",A*A + B*B); ……

[编程入门]矩阵对角线求和

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[5][5],x,y;//定义一个二维数组int main(){ for(……

[编程入门]二维数组的转置

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long a[105];int main(){     for(int i……

[编程入门]选择排序

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[15];//用数组可以少很多变量int main(){ for(int ……

[编程入门]成绩评定

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;long long n;int main(){     cin>>n; if(n>=……