上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页
摘要: 1033 - Generating Palindromes PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB By definition palindrome is a string which is 阅读全文
posted @ 2016-06-23 14:46 sCjTyC 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 1025 - The Specials Menu PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Feuzem is an unemployed computer scientist who spe 阅读全文
posted @ 2016-06-21 08:59 sCjTyC 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 1030 - Discovering Gold PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB You are in a cave, a long cave! The cave can be rep 阅读全文
posted @ 2016-06-21 08:50 sCjTyC 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 1021 - Painful Bases PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB As you know that sometimes base conversion is a painfu 阅读全文
posted @ 2016-06-20 19:20 sCjTyC 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 1018 - Brush (IV) PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Mubashwir returned home from the contest and got angry af 阅读全文
posted @ 2016-06-19 23:57 sCjTyC 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 1017 - Brush (III) PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Samir returned home from the contest and got angry after 阅读全文
posted @ 2016-06-19 13:38 sCjTyC 阅读(321) 评论(0) 推荐(0) 编辑
摘要: C. Alyona and the Tree time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Alyona decided to 阅读全文
posted @ 2016-06-18 13:55 sCjTyC 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 1065 - Number Sequence PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Let's define another number sequence, given by the f 阅读全文
posted @ 2016-06-17 21:32 sCjTyC 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 1131 - Just Two Functions PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Let fn = a1 * fn-1 + b1 * fn-2 + c1 * gn-3 gn = a 阅读全文
posted @ 2016-06-17 10:16 sCjTyC 阅读(226) 评论(0) 推荐(0) 编辑
摘要: 1052 - String Growth PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Zibon just started his courses in Computer science. Af 阅读全文
posted @ 2016-06-16 21:25 sCjTyC 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 1144 - Ray Gun PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB You are in an m x n grid. You are standing in position (0, 0 阅读全文
posted @ 2016-06-15 09:37 sCjTyC 阅读(436) 评论(0) 推荐(0) 编辑
摘要: 昨天做了一道题,发现我对扩展欧几里得理解的还不够透彻。 下面来说说扩展欧几里得。 Ax+By+C=0;那么我们求解这个方程,我们可以将C移到方程右边那Ax+By=-C; 然后我们先分析下A,B的符号,那么如果A=0,那么By=-C;直接求解,如果B能够整除C的话,那么Y=-C/B;那么x可以取任意整 阅读全文
posted @ 2016-06-14 14:34 sCjTyC 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 1306 - Solutions to an Equation PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB You have to find the number of solutions of 阅读全文
posted @ 2016-06-14 10:27 sCjTyC 阅读(343) 评论(2) 推荐(0) 编辑
摘要: 1307 - Counting Triangles PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB You are given N sticks having distinct lengths; y 阅读全文
posted @ 2016-06-13 17:01 sCjTyC 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 1276 - Very Lucky Numbers PDF (English) Statistics Forum Time Limit: 3 second(s) Memory Limit: 32 MB According to some theory 4 and 7 are lucky digits 阅读全文
posted @ 2016-06-12 23:13 sCjTyC 阅读(398) 评论(0) 推荐(0) 编辑
摘要: 1235 - Coin Change (IV) PDF (English) Statistics Forum Time Limit: 1 second(s) Memory Limit: 32 MB Given n coins, values of them are A1, A2 ... An res 阅读全文
posted @ 2016-06-10 23:37 sCjTyC 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 1170 - Counting Perfect BST PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB BST is the acronym for Binary Search Tree. A BS 阅读全文
posted @ 2016-06-10 20:36 sCjTyC 阅读(191) 评论(0) 推荐(0) 编辑
摘要: Grids Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others)Total Submission(s): 717 Accepted Submission(s): 296 Problem De 阅读全文
posted @ 2016-06-10 17:12 sCjTyC 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 1137 - Expanding Rods PDF (English) Statistics Forum Time Limit: 0.5 second(s) Memory Limit: 32 MB When a thin rod of length L is heated n degrees, it 阅读全文
posted @ 2016-06-09 23:05 sCjTyC 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 1127 - Funny Knapsack PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB Given n integers and a knapsack of weight W, you have 阅读全文
posted @ 2016-06-09 20:45 sCjTyC 阅读(247) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页