摘要: 1026: [SCOI2009]windy数 Description windy定义了一种windy数。不含前导零且相邻两个数字之差至少为2的正整数被称为windy数。 windy想知道,在A和B之间,包括A和B,总共有多少个windy数? windy定义了一种windy数。不含前导零且相邻两个数字 阅读全文
posted @ 2016-11-03 22:07 happy_codes 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 1008: [HNOI2008]越狱 Description 监狱有连续编号为1...N的N个房间,每个房间关押一个犯人,有M种宗教,每个犯人可能信仰其中一种。如果相邻房间的犯人的宗教相同,就可能发生越狱,求有多少种状态可能发生越狱 监狱有连续编号为1...N的N个房间,每个房间关押一个犯人,有M种 阅读全文
posted @ 2016-10-31 21:59 happy_codes 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 2151: 种树 Description A城市有一个巨大的圆形广场,为了绿化环境和净化空气,市政府决定沿圆形广场外圈种一圈树。园林部门得到指令后,初步规划出n个种树的位置,顺时针编号1到n。并且每个位置都有一个美观度Ai,如果在这里种树就可以得到这Ai的美观度。但由于A城市土壤肥力欠佳,两棵树决不 阅读全文
posted @ 2016-10-30 21:55 happy_codes 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 4029: [HEOI2015]定价 Description 在市场上有很多商品的定价类似于 999 元、4999 元、8999 元这样。它们和 1000 元、5000 元和 9000 元并没有什么本质区别,但是在心理学上会让人感觉便宜很多,因此也是商家常用的价格策略。不过在你看来,这种价格十分荒谬 阅读全文
posted @ 2016-10-30 21:34 happy_codes 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 花神游历各国 Description Input Output 每次x=1时,每行一个整数,表示这次旅行的开心度 每次x=1时,每行一个整数,表示这次旅行的开心度 Sample Input 4 1 100 5 5 5 1 1 2 2 1 2 1 1 2 2 2 3 1 1 4 Sample Outp 阅读全文
posted @ 2016-10-30 21:21 happy_codes 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 整数对 Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 1271 整数对 Submit Status Practice HDU 1271 Descripti 阅读全文
posted @ 2016-10-23 21:07 happy_codes 阅读(300) 评论(0) 推荐(0) 编辑
摘要: Lifting the Stone Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Practice HDU 1115 Description There are many secret open 阅读全文
posted @ 2016-10-23 20:46 happy_codes 阅读(196) 评论(0) 推荐(0) 编辑
摘要: Eight Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 20993 Accepted Submission(s): 5634Special 阅读全文
posted @ 2016-10-15 18:37 happy_codes 阅读(200) 评论(0) 推荐(0) 编辑
摘要: H - Computer Transformation Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice _ H - Computer Transformation 阅读全文
posted @ 2016-10-15 18:00 happy_codes 阅读(422) 评论(0) 推荐(0) 编辑
摘要: Collect More Jewels Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6857 Accepted Submission(s): 阅读全文
posted @ 2016-10-15 17:51 happy_codes 阅读(199) 评论(0) 推荐(0) 编辑
摘要: Fire Net Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10462 Accepted Submission(s): 6154 Probl 阅读全文
posted @ 2016-10-15 17:37 happy_codes 阅读(158) 评论(0) 推荐(0) 编辑
摘要: Wooden Sticks Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice _ Description There is a pile of n wooden st 阅读全文
posted @ 2016-10-15 17:30 happy_codes 阅读(489) 评论(0) 推荐(0) 编辑
摘要: Leftmost Digit Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 16762 Accepted Submission(s): 6643 阅读全文
posted @ 2016-10-15 17:20 happy_codes 阅读(139) 评论(0) 推荐(0) 编辑
摘要: F - Sum of Remainders Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Practice CodeForces 616E Description Calcula 阅读全文
posted @ 2016-10-05 12:00 happy_codes 阅读(423) 评论(0) 推荐(0) 编辑
摘要: H - Brain Network (medium) Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u CodeForces 690C2 H - Brain Network (medium) Time Limi 阅读全文
posted @ 2016-09-30 21:16 happy_codes 阅读(206) 评论(0) 推荐(0) 编辑
摘要: G - Brain Network (easy) Time Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u CodeForces 690C1 G - Brain Network (easy) Time Limit:20 阅读全文
posted @ 2016-09-30 21:10 happy_codes 阅读(214) 评论(0) 推荐(0) 编辑
摘要: B - Collective Mindsets (medium) Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u CodeForces 690A2 B - Collective Mindsets (mediu 阅读全文
posted @ 2016-09-30 21:07 happy_codes 阅读(209) 评论(0) 推荐(0) 编辑
摘要: Collective Mindsets (easy) Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u CodeForces 690A1 Description Tonight is brain dinner 阅读全文
posted @ 2016-09-30 20:56 happy_codes 阅读(245) 评论(0) 推荐(0) 编辑
摘要: RMQ with Shifts Time Limit:1000MS Memory Limit:65535KB 64bit IO Format:%I64d & %I64u Practice NBUT 1113 RMQ with Shifts Practice NBUT 1113 Description 阅读全文
posted @ 2016-08-17 21:41 happy_codes 阅读(216) 评论(0) 推荐(0) 编辑
摘要: C - Throwing Dice Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu LightOJ 1064 uDebug C - Throwing Dice Time Limit:2000MS Memory Li 阅读全文
posted @ 2016-08-17 21:07 happy_codes 阅读(195) 评论(0) 推荐(0) 编辑