上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 27 下一页
摘要: #includeusing namespac... 阅读全文
posted @ 2016-03-14 16:51 伟大的蚊子 阅读(67) 评论(0) 推荐(0) 编辑
摘要: #include#include#inclu... 阅读全文
posted @ 2016-03-14 16:51 伟大的蚊子 阅读(83) 评论(0) 推荐(0) 编辑
摘要: //cww 逆波兰计算器#include#include#includeusing namespace std;stacks;char read(){ while (1){ printf("Select command and press:"); ... 阅读全文
posted @ 2016-03-14 16:50 伟大的蚊子 阅读(133) 评论(0) 推荐(0) 编辑
摘要: //cww 逆波兰计算器#include#i... 阅读全文
posted @ 2016-03-14 16:50 伟大的蚊子 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 先写个链表版的,,,dp版的以后再说#include #include #include #include using namespace std;struct node{ int num; node *next; node (){num=0;nex... 阅读全文
posted @ 2016-03-14 13:45 伟大的蚊子 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 先写个链表版的,,,dp版的以后再说#inc... 阅读全文
posted @ 2016-03-14 13:45 伟大的蚊子 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 题目在这题意:求1-k的排列中第n大的序列,题目给出n的计算方法: n = si*(k-1)+s2*(k-2)…+sk*0!; 并给你s1~sk**分析:**n好大好大,,,,, n是给的一个一个的阶乘和,想想:k位的排列数是k!... 阅读全文
posted @ 2016-03-10 19:03 伟大的蚊子 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 题目在这题意:求1-k的排列中第n大的序列,... 阅读全文
posted @ 2016-03-10 19:03 伟大的蚊子 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 题目这里题意:城市会建设很多摩天楼,从侧面看城市,新楼会把旧楼挡住(如果新楼高度>=旧楼) 每新建一栋楼,会产生一个“建设值”=挡住了多少长度的旧楼(地面看做h=0的楼) 输出建设值总和, tip:每栋楼产生的“建设值”取决于这栋楼建成之前的状态,故顺序很重要分析:数... 阅读全文
posted @ 2016-03-10 01:55 伟大的蚊子 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 题目这里题意:城市会建设很多摩天楼,从侧面看... 阅读全文
posted @ 2016-03-10 01:55 伟大的蚊子 阅读(106) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 27 下一页