题解列表

筛选

思路正确简单明了

摘要:解题思路:#include<stdio.h> int main(void) {     int a[10];     int i, j;     for(i = 0; i < 10; i++……

谁考了第k名 C++

摘要:```cpp #include using namespace std; // 定义学生结构体 struct Student { int id; // 学号 ……

烈焰 燃毁!!!

摘要:解题思路:注意事项:参考代码:#include"bits/stdc++.h" using namespace std; #define mo 1000007 // 定义模数,用于结果取模 int……

一定要细心啊(不难)

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(void) {     int n;     printf("Please enter the number……

real_count经典命名

摘要:#include<stdio.h> int main(void) {     int n;     scanf("%d", &n);     int flag[100] = {0};   ……

自由下落计算

摘要:解题思路:1.  luodi  函数:- 首先处理了  n  为 1 和 2 的特殊情况,直接返回相应的计算结果。- 对于  n > 2  的情况,先计算出  luodi(m, n - 1)  和  ……

2801: 奇数求和题解

摘要:解题思路:注意事项:#include <bits/stdc++.h>using namespace std;typedef long long  ll;int main(){  int n,m;cin……