基础训练数列排序 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,k,n,a[200]; scanf("%d",&n); for(i=0;i<n…… 题解列表 2019年01月08日 0 点赞 0 评论 985 浏览 评分:7.3
母牛的故事 (C语言代码) 摘要:#include<stdio.h> long count(int n) { long oldOneYearCow = 0; long oldTwoYearCow = …… 题解列表 2019年01月08日 0 点赞 0 评论 667 浏览 评分:0.0
三位数反转 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,k,n; while(scanf("%d",&n)!=EOF) { w…… 题解列表 2019年01月08日 0 点赞 0 评论 862 浏览 评分:0.0
蓝桥杯基础练习VIP-时间转换 (C语言代码) 摘要:解题思路:本题给出一个秒数t3600秒等于1h60秒等于1mint/3600为其能转换的小时,t%3600为其转换成小时后剩余的秒数,再将剩余的秒数转换成分钟: t%3600/60t%3600%60为…… 题解列表 2019年01月08日 0 点赞 0 评论 690 浏览 评分:0.0
蓝桥杯算法训练VIP-整除问题 (C语言代码) 摘要:解题思路:利用for循环遍历。注意事项:参考代码:#include <stdio.h> int main() { int min,max,factor; scanf("%d%d%d",&min…… 题解列表 2019年01月08日 0 点赞 0 评论 624 浏览 评分:0.0
求圆的面积 (C语言代码) 摘要:解题思路:注意事项:参考代码#include <stdio.h> #define PI 3.1415926 int main() { double r; scanf("%lf",&r);…… 题解列表 2019年01月08日 0 点赞 0 评论 611 浏览 评分:0.0
求圆的面积 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ double n,sum; scanf("%lf",&n); sum=pow(n…… 题解列表 2019年01月08日 0 点赞 0 评论 562 浏览 评分:0.0
输出字符'A'个数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[101]; int i,n; scanf("%d",&n); for(i=0;i<n;i++) …… 题解列表 2019年01月08日 0 点赞 0 评论 495 浏览 评分:0.0
奖学金 (C++代码) 摘要:解题思路: 利用STL中的sort函数即可很简单实现。(1)先按照总分排序;(2)总分相同再按照语文排序;(3)语文相同,则按照学号排序。(4)输出前5项即可。参考代码:#include <bits/…… 题解列表 2019年01月08日 0 点赞 0 评论 650 浏览 评分:0.0
成绩等级转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int g;while(scanf("%d",&g)!=EOF){if(g<0||g>100){ printf("…… 题解列表 2019年01月08日 0 点赞 0 评论 697 浏览 评分:0.0