题解列表

筛选

同行列对角线的格子

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ //同行列对角线的格子  int n; scanf("%d", &n);//n*n形式的矩阵(从1开始)  i……

自定义函数之整数处理

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i = 0,j=0,num=0,max=0,min=0; int a[10]; for (i = 0; ……

2797: 最高的分数

摘要:```cpp #include using namespace std; int main() { int a,n,max; cin>>n; max=0; ……

]自定义函数之数字后移

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d", &n); int i = 0; int m = 0; int a[100]……

2969: 打印月历

摘要:```cpp #include using namespace std; int fun(int a,int b,int q); int main() { int i,j,m,n,……

2963: Tomorrow never knows?

摘要:输入的时候‘-’可以用getchar直接屏蔽掉 ```cpp #include #include using namespace std; bool IsLeapYear(int year)……

2953: 特殊日历计算

摘要:```cpp #include #include using namespace std; int a[100],yue[13]={0,31,28,31,30,31,30,31,31,30,3……