求输入数据绝对值-题解(C语言代码) 摘要:解题思路:题目没有给出停止的条件,但是又不知道什么时候停止,则需要用EOF注意事项:参考代码:#include<stdio.h> int main() { float q; w…… 题解列表 2020年12月30日 0 点赞 0 评论 530 浏览 评分:0.0
递推 超时的可以看看 摘要: #include #include #include using namespace std; long long dp[100]; …… 题解列表 2021年01月04日 0 点赞 0 评论 699 浏览 评分:0.0
[编程入门]Sn的公式求和-题解(C++代码) 摘要:解题思路:一个for就能解决吧注意事项:参考代码:#include <iostream>#include <cmath>using namespace std;int main(){ int n,m=…… 题解列表 2021年01月04日 0 点赞 0 评论 506 浏览 评分:0.0
[编程入门]求和训练-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <iomanip>using namespace std;int main(){ int a,b,c; int s…… 题解列表 2021年01月04日 0 点赞 0 评论 722 浏览 评分:0.0
The 3n + 1 problem -题解(C语言代码) 摘要:解题思路: 函数的递归 用全局变量记录函数调用的次数。注意事项:a,b的大小 正负参考代码:#include<stdio.h>int T=1; //记录函数的调用次数void odd_even(uns…… 题解列表 2021年01月04日 0 点赞 0 评论 370 浏览 评分:0.0
蓝桥杯历届试题-回文数字-题解(C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include<algorithm>#include<sstream>using namespace std;int main()…… 题解列表 2021年01月05日 0 点赞 0 评论 370 浏览 评分:0.0
二级C语言-平均值计算-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class test1053 { public static void main(String[] …… 题解列表 2021年01月05日 0 点赞 0 评论 607 浏览 评分:0.0
[编程入门]求和训练-题解(Python代码) 摘要:解题思路:注意事项:参考代码:a,b,c = map(int,input().split())e=f=g=0for i in range(1,a+1): e += ifor i in range…… 题解列表 2021年01月06日 0 点赞 0 评论 440 浏览 评分:0.0
[编程入门]链表合并-题解(C语言代码) 摘要:参考代码:#include<stdio.h>#include<malloc.h>/*构造结构体*/struct cell{ int x; int score; struct cell*next;}ce…… 题解列表 2021年01月07日 0 点赞 0 评论 640 浏览 评分:0.0
蓝桥杯算法提高VIP-多项式输出-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j,m; int a[101]; scanf("%d",&n); for(i=0;i<=n…… 题解列表 2021年01月07日 0 点赞 0 评论 448 浏览 评分:0.0