随笔分类 - 算法竞赛
摘要:Painting Fence Time Limit:1000MS Memory Limit:524288KB 64bit IO Format:%I64d & %I64u Submit Status Painting Fence Submit Status Description Bizon the
阅读全文
摘要:time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output time limit per test 2 seconds time limit
阅读全文
摘要:C. Vacations time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Vasya has n days of vacation
阅读全文
摘要:B. One Bomb time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. One Bomb time limit per te
阅读全文
摘要:A. Launch of C time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output There will be a launch of
阅读全文
摘要:A. Launch of Collider time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A. Launch of Colli
阅读全文
摘要:Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Submit Status Description You are given an alphabet consisting of
阅读全文
摘要:Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Submit Status Submit Status Description Friends are going to play console. They
阅读全文
摘要:B - Time Limit:1000MS Memory Limit:0KB 64bit IO Format:%lld & %llu Submit Status B - Submit Status Description 或许每个人都有成为将军的梦想,小光也是如此。从小,小光就立志长大了以后要做一名
阅读全文
摘要:1003 Wool Provider : frank_c1 考虑三角形三条边a,b,ca,b,c (a \ge b)(a≥b)的关系a - b < c, a + b > ca−b<c,a+b>c,即c \in (a-b,a+b)c∈(a−b,a+b)。 令加入的边为cc,枚举所有边作为aa的情况。对
阅读全文
摘要:首先,根据题意可得B数组应是单调不升的,C数组是单调不降的。 可以发现A_1 = B_1 = C_1A1=B1=C1,所以如果B_1 \neq C_1B1≠C1无解。 进一步,我们发现如果B_i < B_{i-1}Bi<Bi−1,A_i = B_iAi
阅读全文
摘要:Time Limit: 8000/4000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 325 Accepted Submission(s): 139 Problem Descrip
阅读全文
摘要:http://www.aichengxu.com/view/1753982 据这个大神说,这是一道dp题,但是我暂时还不理解。 什么时候可以dp,如何dp? 先记录下来再说了。 Bear and Blocks Time Limit:1000MS Memory Limit:262144KB 64bit
阅读全文

浙公网安备 33010602011771号