摘要: 给出最多13个数,从中选出6个数(升序)给出所有方案(升序输出)DFS水题#include #include #include using namespace std;const int N = 10;const int M = 16;int ans[N];int a[M];int n;void d... 阅读全文
posted @ 2015-07-07 22:45 bbbbq 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 有中文意思。注意HOLLY法月份和天数是一起滚动的= =要输出总组数,坑哭#include #include #include #include #include #includeusing namespace std;mapf;const int N = 22;char str[N][10] = ... 阅读全文
posted @ 2015-07-07 22:18 bbbbq 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 按逆序数从小到大排序。需要稳定排序。然而依然可以快排#include #include #include using namespace std;const int N = 55;const int M = 104;char str[M][N];struct point{ int num, ... 阅读全文
posted @ 2015-07-07 22:16 bbbbq 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 比赛的时候就出了5题,赛后发现其实很多题可以写,不知道为啥赛时这么逗比加坑队友,过两天做个总结5236Article29.45%(134/455)5237Base6441.67%(175/420)5238Calculator43.85%(82/187)5239Doom23.67%(138/583)5... 阅读全文
posted @ 2015-07-07 17:19 bbbbq 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 考试月结束,刷水题恢复一下手感,明天开始正式写。题意中文可见注意: 1.输出3-4格式,0补齐 2.不知道Q Z怎么处理 ,视为0了 3.输入时str开大,20的时候WA了 傻叉错: 循环完有还有一个没处理#include #include #include #include using ... 阅读全文
posted @ 2015-07-07 17:16 bbbbq 阅读(106) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2015-03-01 00:01 bbbbq 阅读(2) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2015-02-28 23:59 bbbbq 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2015-02-27 13:21 bbbbq 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 自从发现了onenotes所有的解题报告都扔那里了。。不用联网随意搞格式好方便。。。代码附件一下导致这里年久失修。。。。。还是要。。经常诈尸啊。。。 阅读全文
posted @ 2015-02-27 13:19 bbbbq 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 最水的一场CF..A. Vanya and Cubestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVanya gotncubes. He de... 阅读全文
posted @ 2014-12-17 23:52 bbbbq 阅读(189) 评论(0) 推荐(0) 编辑