上车人数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int M=1000+5; struct num{ int b1,b…… 题解列表 2018年05月13日 0 点赞 0 评论 1131 浏览 评分:2.0
三进制小数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<cmath> using namespace std; int mai…… 题解列表 2018年05月13日 0 点赞 0 评论 1401 浏览 评分:9.9
三角形 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int n_max=100+5; int a[n_max][n_max]…… 题解列表 2018年05月13日 1 点赞 0 评论 1389 浏览 评分:5.0
数列 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int M=10000+5; int a[M]; int main()…… 题解列表 2018年05月12日 0 点赞 0 评论 1667 浏览 评分:0.0
蓝桥杯2015年第六届真题-机器人塔 (C++代码) 摘要:解题思路:位向量法注意事项:时间超限,显然这里的数据测试不是很严格,数据直接通过了参考代码:#include<iostream> #include<cstdio> #include<algorit…… 题解列表 2018年05月12日 2 点赞 0 评论 1800 浏览 评分:2.0
文科生的悲哀 (C++代码) 摘要:解题思路:n=1,ans=1;n=2,ans=1;n=3,ans=2;n=4,ans=5……ans 和 n 的关系满足n(1,2,……,N)->ans(1,1,3,5,8,13,……)//显然是斐波那…… 题解列表 2018年05月12日 1 点赞 0 评论 788 浏览 评分:0.0
奖学金 (C++代码) 摘要:解题思路:注意事项:不能多组输入参考代码:#include<cstdio> #include<iostream> #include<algorithm> using namespace std;…… 题解列表 2018年05月11日 0 点赞 0 评论 1006 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题3.7 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <string.h>using namespace std;int main(){ char a[100]; ci…… 题解列表 2018年05月11日 0 点赞 0 评论 1407 浏览 评分:9.0
校门外的树 (C++代码) 摘要:解题思路:1、使用数组模拟树2、有树的位置为1,移除树的位置为03、统计最后为 1 的位置的数目,即为最后剩余树的数目注意事项:参考代码:#include<iostream> using names…… 题解列表 2018年05月11日 0 点赞 0 评论 3022 浏览 评分:8.6
优质题解 弟弟的作业 (C++代码) 摘要:解题思路:c++ STL的string类包含了多种对字符串的处理方式。本题可用string.find()找到运算符号的位置,得到位置后用string.substr()划分数字与运算符。注意事项:str…… 题解列表 2018年05月10日 7 点赞 3 评论 4876 浏览 评分:7.2