题解列表

筛选

向量点积计算

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

母牛的故事(递归)

摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; int arr[60]; int niu(int x){ if(arr[x]!……

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;  ……