Sn的公式求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int w,s,sn,i; scanf("%d",&i); i…… 题解列表 2023年07月18日 0 点赞 0 评论 489 浏览 评分:0.0
阶乘求和(递归) 看到有个评论用了递归,索性帮他补一下```c#includelonglongfun(intn){if(n==1){return1;}elseif(n==0){return0;}elseif(n>1){returnfun(n-1)*n;}}intmain(){intN, 题解列表 2023年07月18日 0 点赞 0 评论 535 浏览 评分:0.0
与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[100];int main(){ int n,m,sum=0; …… 题解列表 2023年07月18日 0 点赞 0 评论 346 浏览 评分:0.0
****************************************************************************字符逆序******************** 摘要:解题思路:注意事项:参考代码:// 题目 1093: 字符逆序#include <bits/stdc++.h>#include <bits/stdc++.h> using namespace std;…… 题解列表 2023年07月18日 0 点赞 0 评论 453 浏览 评分:0.0
查找特定的值 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[10000000];int main(){ int n,x; …… 题解列表 2023年07月18日 0 点赞 0 评论 466 浏览 评分:0.0
陶陶摘苹果2 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int a[10000000];int main(){ int n,m,su…… 题解列表 2023年07月18日 0 点赞 0 评论 496 浏览 评分:0.0
3020: 最大数位置 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int a[100000];int main(){ int n,maxx=1,…… 题解列表 2023年07月18日 0 点赞 0 评论 543 浏览 评分:0.0
石头剪刀布 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ //比赛n轮,输入n ,小A的周期长度na,小B的周…… 题解列表 2023年07月18日 0 点赞 0 评论 533 浏览 评分:0.0
石头剪刀布 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ //比赛n轮,输入n ,小A的周期长度na,小B的周…… 题解列表 2023年07月18日 0 点赞 0 评论 538 浏览 评分:0.0
1018: [编程入门]有规律的数列求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { float a[8] = { 0,0,2,1,1,1,0,0 }; scanf_s("%f", &a[0]);…… 题解列表 2023年07月18日 0 点赞 0 评论 425 浏览 评分:0.0