蓝桥杯算法提高VIP-班级排名 (C++代码) 摘要:参考前排大神的代码,并加以重构,简化了代码的复杂度。感谢 WU 大神~注意事项:通过结构体的建立,可以更有条理的建立题目逻辑因为达达只有一个,所以用break大大减小了计算量(如果不用,则会输出超…… 题解列表 2018年02月09日 1 点赞 0 评论 1499 浏览 评分:9.9
2004年秋浙江省计算机等级考试二级C 编程题(1) (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int a[10],i,mini=0; …… 题解列表 2018年02月09日 0 点赞 0 评论 749 浏览 评分:0.0
C二级辅导-阶乘数列 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>using namespace std;int main(){ double m=0,j,c; in…… 题解列表 2018年02月09日 0 点赞 0 评论 731 浏览 评分:0.0
C二级辅导-统计字符 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstdio>using namespace std;int main(){ char a; int q,w,e,r…… 题解列表 2018年02月09日 2 点赞 0 评论 1231 浏览 评分:0.0
C二级辅导-公约公倍 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int i,m,n,f; cin>>m>>n; for(i=n;i>0…… 题解列表 2018年02月09日 0 点赞 0 评论 653 浏览 评分:0.0
C二级辅导-同因查找 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int i; for(i=10;i<=1000;i++) { if(…… 题解列表 2018年02月09日 0 点赞 0 评论 878 浏览 评分:0.0
C二级辅导-等差数列 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int n,i,m=-1,j=0; cin>>n; for(i=0;i…… 题解列表 2018年02月09日 0 点赞 0 评论 1388 浏览 评分:9.9
C语言程序设计教程(第三版)课后习题10.1 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<algorithm>using namespace std;int main(){ int a[3],i,j; fo…… 题解列表 2018年02月09日 0 点赞 0 评论 595 浏览 评分:0.0
蓝桥杯历届试题-错误票据 (C++代码) 摘要:解题思路:很想吐槽,为什么用注释的部分就会错,蓝桥杯官网都ac了,,,之后只有改为这个注意事项:参考代码:#include<iostream>#include<sstream>#include<cst…… 题解列表 2018年02月09日 0 点赞 0 评论 751 浏览 评分:0.0
蓝桥杯算法训练VIP-s01串 (C++string解决)(必看) 摘要:解题思路:string有replace函数,就是替换,正好对上这道题。注意事项:注意replace的三个参数,替换的起始位置,替换几个字符,替换为什么东西。参考代码:#include<iostream…… 题解列表 2018年02月08日 0 点赞 0 评论 757 浏览 评分:0.0