题解列表

筛选

Sn的公式求和

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

阶乘求和(递归)

摘要:看到有个评论用了递归,索性帮他补一下 ```c #include long long fun(int n) { if(n==1) { return 1; } else if(n==……

查找特定的值

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

陶陶摘苹果2

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

3020: 最大数位置

摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[100000];int main(){    int n,maxx=1,……

石头剪刀布

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    //比赛n轮,输入n ,小A的周期长度na,小B的周……

石头剪刀布

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    //比赛n轮,输入n ,小A的周期长度na,小B的周……