随笔分类 -  动态规划、递归、记忆化搜索

摘要:E. Zbazi in Zeydabad time limit per test 5 seconds memory limit per test 512 megabytes input standard input output standard output A tourist wants to 阅读全文
posted @ 2016-12-02 12:38 yanzx6 阅读(439) 评论(0) 推荐(0)
摘要:D. Magic Numbers time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Magic Numbers time l 阅读全文
posted @ 2016-12-02 12:16 yanzx6 阅读(381) 评论(0) 推荐(0)
摘要:Solid Dominoes Tilings Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 235 Accepted Submission(s) 阅读全文
posted @ 2016-08-28 20:23 yanzx6 阅读(243) 评论(0) 推荐(0)
摘要:Shell Necklace Time Limit: 16000/8000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 534 Accepted Submission(s): 227 P 阅读全文
posted @ 2016-08-26 18:23 yanzx6 阅读(333) 评论(0) 推荐(0)
摘要:Magic boy Bi Luo with his excited tree Problem Description Bi Luo is a magic boy, he also has a migic tree, the tree has N nodes , in each node , ther 阅读全文
posted @ 2016-08-26 14:22 yanzx6 阅读(271) 评论(0) 推荐(0)
摘要:Robots Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 60 Accepted Submission(s): 13 Problem Desc 阅读全文
posted @ 2016-08-23 10:00 yanzx6 阅读(379) 评论(0) 推荐(0)
摘要:1201 整数划分 基准时间限制:1 秒 空间限制:131072 KB 分值: 80 难度:5级算法题 将N分为若干个不同整数的和,有多少种不同的划分方式,例如:n = 6,{6} {1,5} {2,4} {1,2,3},共4种。由于数据较大,输出Mod 10^9 + 7的结果即可。 Input 输 阅读全文
posted @ 2016-03-07 20:12 yanzx6 阅读(440) 评论(0) 推荐(0)
摘要:A. Alternative Thinkingtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputKevin has just recevied h... 阅读全文
posted @ 2015-12-31 11:41 yanzx6 阅读(288) 评论(0) 推荐(0)
摘要:1143. Electric PathTime limit: 1.0 secondMemory limit: 64 MBBackgroundAt the team competition of the 10th national student informatics Olympic, which ... 阅读全文
posted @ 2015-12-26 09:41 yanzx6 阅读(334) 评论(0) 推荐(0)
摘要:1142. RelationsTime limit: 1.0 secondMemory limit: 64 MBBackgroundConsider a specific set of comparable objects. Between two objectsaandb, there exits... 阅读全文
posted @ 2015-12-25 20:13 yanzx6 阅读(280) 评论(0) 推荐(0)
摘要:1073. Square CountryTime limit: 1.0 secondMemory limit: 64 MBThere live square people in a square country. Everything in this country is square also. ... 阅读全文
posted @ 2015-12-25 20:01 yanzx6 阅读(218) 评论(0) 推荐(0)
摘要:H. Hashingtime limit per test1 secondmemory limit per test512 megabytesinputstandard inputoutputstandard outputIn this problem you are given a byte ar... 阅读全文
posted @ 2015-12-25 10:10 yanzx6 阅读(381) 评论(0) 推荐(0)
摘要:D. Gadgets for dollars and poundstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputNura wants to b... 阅读全文
posted @ 2015-12-22 22:00 yanzx6 阅读(218) 评论(0) 推荐(0)
摘要:Game RoomsTime Limit: 4000/4000 MS (Java/Others)Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 305Accepted Submission(s): 84Problem Des... 阅读全文
posted @ 2015-12-22 21:18 yanzx6 阅读(349) 评论(0) 推荐(1)
摘要:Pick The SticksTime Limit: 15000/10000 MS (Java/Others)Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 593Accepted Submission(s): 193Pro... 阅读全文
posted @ 2015-12-21 15:45 yanzx6 阅读(202) 评论(0) 推荐(0)
摘要:The Battle of ChibiTime Limit: 6000/4000 MS (Java/Others)Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 591Accepted Submission(s): 192P... 阅读全文
posted @ 2015-12-21 15:43 yanzx6 阅读(205) 评论(0) 推荐(0)
摘要:Intergalaxy Tripstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe scientists have recently di... 阅读全文
posted @ 2015-12-21 10:22 yanzx6 阅读(813) 评论(0) 推荐(0)