通过循环来来分解每位上的数 摘要:解题思路:通过对输入的数对10取余,获取这个数的最低位,然后再使这个数除以10并赋给它本身,完成对这数低位的分解并重置这个数剩下的数。注意事项:循环条件位这个数大于零。参考代码: …… 题解列表 2022年08月05日 0 点赞 0 评论 435 浏览 评分:9.9
111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ long long n=0; for(long long i=0;i<=200000;i++) { n…… 题解列表 2022年08月05日 0 点赞 0 评论 951 浏览 评分:0.0
1111111111111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,x,y,z=0,t; scanf("%d",&n); while(n--) { sca…… 题解列表 2022年08月05日 0 点赞 0 评论 296 浏览 评分:0.0
11111111111111111111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; int a[35]; scanf("%d",&n); a[0]=3,a[1]=4,a[2]=5;…… 题解列表 2022年08月05日 0 点赞 0 评论 211 浏览 评分:0.0
通过排序插入数据 摘要:解题思路:定义一个数组,将需要插入的数赋给这个数组,通过冒泡排序完成,数组元素的排序。注意事项:无参考代码:#include<stdio.h> //冒泡排序 void busort(int * a…… 题解列表 2022年08月05日 0 点赞 2 评论 191 浏览 评分:9.9
11111111111111111111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; int a[35]; scanf("%d",&n); a[0]=3,a[1]=4,a[2]=5;…… 题解列表 2022年08月05日 0 点赞 0 评论 332 浏览 评分:0.0
11111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int i; double sum,a[7],m…… 题解列表 2022年08月05日 0 点赞 0 评论 430 浏览 评分:0.0
蓝桥杯算法提高VIP-Quadratic Equation 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ float a,b,c,x1,x2,o,t; scanf("%f%f%f",&a…… 题解列表 2022年08月05日 0 点赞 0 评论 346 浏览 评分:0.0
用不同思路解题 摘要:解题思路:用布尔和运算来表示结果注意事项:参考代码:#include<stdio.h> int main() { _Bool f; int n; scanf("%d"…… 题解列表 2022年08月05日 0 点赞 0 评论 503 浏览 评分:0.0
1111111111111111111111111111111111111111111111111111111111111111 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,a[10001]; int sum=0; sca…… 题解列表 2022年08月05日 0 点赞 0 评论 326 浏览 评分:0.0