C语言程序设计教程(第三版)课后习题5.7 (C语言代码) 摘要:解题思路:新手用简单的功能解决注意事项:{}不要漏参考代码:#include<stdio.h>int main(){ int a,b,c,d,e,f,n; scanf("%d",&a); …… 题解列表 2018年09月15日 0 点赞 0 评论 835 浏览 评分:0.0
明明的随机数 (C++代码)set集合很好解决 摘要:解题思路:使用STL中的set集合,set的不重复性和自带排序的功能,完全符合此题的,去除重复和排序的要求注意事项:参考代码:#include<iostream> #include<math.h>…… 题解列表 2018年09月15日 2 点赞 0 评论 1190 浏览 评分:8.0
半数集问题 (C++代码) 摘要:#include "iostream" #include "algorithm" using namespace std; int main() { int n; while (cin…… 题解列表 2018年09月15日 2 点赞 0 评论 713 浏览 评分:9.9
蓝桥杯算法提高VIP-高精度乘法 (C++代码) 摘要:#include "iostream" #include "cstdio" #include "cstring" #include "algorithm" #include "iomanip"…… 题解列表 2018年09月15日 5 点赞 0 评论 1201 浏览 评分:0.0
字符串的输入输出处理 (C语言代码) 一起输出就不行吗.... 摘要:解题思路:注意事项:提交不通过,不过结果应该是对的啊!参考代码:#include<stdio.h>int main(){ int b,N,i; char str[100][1000]; …… 题解列表 2018年09月15日 11 点赞 10 评论 2159 浏览 评分:9.5
C语言程序设计教程(第三版)课后习题6.3 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include "stdafx.h"#include <stdio.h>int main(int argc, char* argv[]){ int input = 0…… 题解列表 2018年09月15日 0 点赞 0 评论 567 浏览 评分:0.0
蓝桥杯历届试题-回文数字 (C语言代码) 摘要:解题思路:把5位和6位数分开来求解,先求解5位数的回文数,再求解6位数的回文数。参考代码:#include <stdio.h> int main() { int n,a[6],i,x,j,s;…… 题解列表 2018年09月15日 0 点赞 0 评论 1438 浏览 评分:0.0
钟神赛车 (C语言代码) 摘要:解题思路:将输入的数据由小到大排序,将钟神的速度最慢的和某君速度最快的相比,然后再按照速度由小到大让两人直接相比,即b[1]与a[0]比,b[2]与a[1]比,b[3]与a[2]比,...,b[n-1…… 题解列表 2018年09月15日 0 点赞 0 评论 810 浏览 评分:0.0
C二级辅导-计负均正 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[30],n=0,m=0,i; double sum=0; …… 题解列表 2018年09月14日 8 点赞 0 评论 840 浏览 评分:0.0
C二级辅导-温度转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a,b; //有小数输出,直接定义double类型 scanf("%lf"…… 题解列表 2018年09月14日 8 点赞 19 评论 5325 浏览 评分:9.8