半数集问题 (C++代码) 摘要:#include "iostream" #include "algorithm" using namespace std; int main() { int n; while (cin…… 题解列表 2018年09月15日 2 点赞 0 评论 1195 浏览 评分:9.9
蓝桥杯算法提高VIP-高精度乘法 (C++代码) 摘要:#include "iostream" #include "cstdio" #include "cstring" #include "algorithm" #include "iomanip"…… 题解列表 2018年09月15日 5 点赞 0 评论 1683 浏览 评分:0.0
字符串的输入输出处理 (C语言代码) 一起输出就不行吗.... 摘要:解题思路:注意事项:提交不通过,不过结果应该是对的啊!参考代码:#include<stdio.h>int main(){ int b,N,i; char str[100][1000]; …… 题解列表 2018年09月15日 11 点赞 10 评论 2310 浏览 评分: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 评论 853 浏览 评分: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 评论 2318 浏览 评分:0.0
钟神赛车 (C语言代码) 摘要:解题思路:将输入的数据由小到大排序,将钟神的速度最慢的和某君速度最快的相比,然后再按照速度由小到大让两人直接相比,即b[1]与a[0]比,b[2]与a[1]比,b[3]与a[2]比,...,b[n-1…… 题解列表 2018年09月15日 0 点赞 0 评论 1266 浏览 评分: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 评论 1126 浏览 评分:0.0
C二级辅导-温度转换 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double a,b; //有小数输出,直接定义double类型 scanf("%lf"…… 题解列表 2018年09月14日 8 点赞 19 评论 5729 浏览 评分:9.8
求输入数据绝对值 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<math.h> using namespace std; int main(){ double s; …… 题解列表 2018年09月14日 2 点赞 0 评论 1776 浏览 评分:0.0
字符串中间和后边*号删除 (C++代码)按照题意来编写 摘要:解题思路:输入一个字符串,在遇到非*号之前,把*号都添加到a字符串中,搞定前导*后,直至字符串尾,只添加非*号字符注意事项:如样例: ****a*bc*def*g**** 前导*号为: s[0…… 题解列表 2018年09月14日 2 点赞 0 评论 1835 浏览 评分:2.0