程序员美工梦 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; void f1_print(int n) { for(int i=1;i<=n;…… 题解列表 2018年05月13日 0 点赞 0 评论 2242 浏览 评分:0.0
上车人数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int M=1000+5; struct num{ int b1,b…… 题解列表 2018年05月13日 0 点赞 0 评论 1506 浏览 评分:2.0
三进制小数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstring> #include<cmath> using namespace std; int mai…… 题解列表 2018年05月13日 0 点赞 0 评论 1893 浏览 评分: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 评论 1745 浏览 评分:5.0
数列 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int M=10000+5; int a[M]; int main()…… 题解列表 2018年05月12日 0 点赞 0 评论 1979 浏览 评分:0.0
蓝桥杯2015年第六届真题-机器人塔 (C++代码) 摘要:解题思路:位向量法注意事项:时间超限,显然这里的数据测试不是很严格,数据直接通过了参考代码:#include<iostream> #include<cstdio> #include<algorit…… 题解列表 2018年05月12日 2 点赞 0 评论 2276 浏览 评分: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 评论 1075 浏览 评分:0.0
奖学金 (C++代码) 摘要:解题思路:注意事项:不能多组输入参考代码:#include<cstdio> #include<iostream> #include<algorithm> using namespace std;…… 题解列表 2018年05月11日 0 点赞 0 评论 1488 浏览 评分: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 评论 1731 浏览 评分:9.0
校门外的树 (C++代码) 摘要:解题思路:1、使用数组模拟树2、有树的位置为1,移除树的位置为03、统计最后为 1 的位置的数目,即为最后剩余树的数目注意事项:参考代码:#include<iostream> using names…… 题解列表 2018年05月11日 0 点赞 0 评论 3477 浏览 评分:8.6