摘要: Problem Description During the War of Resistance Against Japan, tunnel warfare was carried out extensively in the vast areas of north China Plain. Gen 阅读全文
posted @ 2017-03-05 16:03 Robin! 阅读(112) 评论(0) 推荐(0) 编辑
摘要: Problem Description 十年前读大学的时候,中国每年都要从国外引进一些电影大片,其中有一部电影就叫《勇敢者的游戏》(英文名称:Zathura),一直到现在,我依然对于电影中的部分电脑特技印象深刻。今天,大家选择上机考试,就是一种勇敢(brave)的选择;这个短学期,我们讲的是博弈(g 阅读全文
posted @ 2017-03-04 14:13 Robin! 阅读(102) 评论(0) 推荐(0) 编辑
摘要: Problem Description 搬寝室是很累的,xhd深有体会.时间追述2006年7月9号,那天xhd迫于无奈要从27号楼搬到3号楼,因为10号要封楼了.看着寝室里的n件物品,xhd开始发呆,因为n是一个小于2000的整数,实在是太多了,于是xhd决定随便搬2*k件过去就行了.但还是会很累, 阅读全文
posted @ 2017-03-01 20:52 Robin! 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Problem Description For a decimal number x with n digits (AnAn-1An-2 ... A2A1), we define its weight as F(x) = An * 2n-1 + An-1 * 2n-2 + ... + A2 * 2 阅读全文
posted @ 2017-03-01 16:40 Robin! 阅读(118) 评论(0) 推荐(0) 编辑
摘要: Description It's dinner time, and the cows are out in their separate pastures. Farmer John rings the bell so they will start walking to the barn. Your 阅读全文
posted @ 2017-02-28 22:56 Robin! 阅读(124) 评论(0) 推荐(0) 编辑
摘要: Description The citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral poste 阅读全文
posted @ 2017-02-28 20:05 Robin! 阅读(106) 评论(0) 推荐(0) 编辑
摘要: Description 三国时期,南蛮王孟获叛乱,诸葛亮起兵平乱。当深入南蛮之地时,遇当地人绘得地图,发现各地分别由各个寨主据守,若诸葛亮想兵分多路进军,尽快占领各个山寨(必须占领所有山寨),并且最终所有士兵都汇聚到孟获所在山寨,若给你一次穿越的机会,你用程序告诉诸葛亮最少需要多少天才能完成这个任务 阅读全文
posted @ 2017-02-27 23:04 Robin! 阅读(125) 评论(0) 推荐(0) 编辑
摘要: Description Bessie is out in the field and wants to get back to the barn to get as much sleep as possible before Farmer John wakes her for the morning 阅读全文
posted @ 2017-02-27 19:01 Robin! 阅读(349) 评论(0) 推荐(0) 编辑
摘要: Problem Description The Head Elder of the tropical island of Lagrishan has a problem. A burst of foreign aid money was spent on extra roads between vi 阅读全文
posted @ 2017-02-27 17:20 Robin! 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Problem Description 有N个比赛队(1<=N<=500),编号依次为1,2,3,。。。。,N进行比赛,比赛结束后,裁判委员会要将所有参赛队伍从前往后依次排名,但现在裁判委员会不能直接获得每个队的比赛成绩,只知道每场比赛的结果,即P1赢P2,用P1,P2表示,排名时P1在P2之前。现 阅读全文
posted @ 2017-02-26 22:49 Robin! 阅读(191) 评论(0) 推荐(0) 编辑