蓝桥杯算法训练-排序 不用(for)的代码 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a[3],i; for(i=0;i<3;i++) c…… 题解列表 2021年08月12日 0 点赞 0 评论 307 浏览 评分:9.9
兄弟们,有没有更简单的来分享分享 摘要:解题思路:注意事项:参考代码:#include<stdio.h>double xulie(int n){ double o=2,m=1,s=0; for(int i=1;i<=n;i++) { s…… 题解列表 2021年08月12日 0 点赞 3 评论 602 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ float a; scanf("%f",&a); printf("%.3f",a); return 0;}…… 题解列表 2021年08月12日 0 点赞 0 评论 334 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ double a; scanf("%lf",&a); printf("%.12lf",a); return 0…… 题解列表 2021年08月12日 0 点赞 0 评论 576 浏览 评分:9.9
题解 1184: 众数问题 摘要:参考代码:#include<stdio.h>#include<string.h>int a[50001]={0};int main(){ int n; scanf("%d",&n); …… 题解列表 2021年08月12日 0 点赞 0 评论 618 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); printf("%d",b); …… 题解列表 2021年08月12日 0 点赞 0 评论 302 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ double a; scanf("%lf",&a); printf("%f\n%.5f\n%e\n%g",a,…… 题解列表 2021年08月12日 0 点赞 0 评论 585 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ char c1,c2,c3,c4,c5; scanf("%c%c%c%c%c",&c1,&c2,&c3,&c4…… 题解列表 2021年08月12日 0 点赞 0 评论 354 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b; while(~scanf("%d%d",&a,&b)) printf("%d\n",a+b)…… 题解列表 2021年08月12日 0 点赞 0 评论 522 浏览 评分:0.0
简单代码易理解 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int x,y; scanf("%d",&x); if(x>=1) if(x<10) y=2*x-1; …… 题解列表 2021年08月12日 0 点赞 0 评论 551 浏览 评分:0.0