随笔分类 - 杂
摘要:D. Counting Rectangles is Fun time limit per test 4 seconds memory limit per test 256 megabytes input standard input output standard output There is a
阅读全文
摘要:C. Guess Your Way Out! time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Amr bought a new v
阅读全文
摘要:Hamming Distance Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others) Problem Description (From wikipedia) For binary stri
阅读全文
摘要:D. Petya and His Friends time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Little Petya ha
阅读全文
摘要:Wool Time Limit: 8000/4000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Problem Description At dawn, Venus sets a second task for Psyc
阅读全文
摘要:区间的价值 Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description 我们定义“区间的价值”为一段区间的最大值*最小值。一个区间左端点在L,右端点在R,那
阅读全文
摘要:3039: 玉蟾宫 Description 有一天,小猫rainbow和freda来到了湘西张家界的天门山玉蟾宫,玉蟾宫宫主蓝兔盛情地款待了它们,并赐予它们一片土地。这片土地被分成N*M个格子,每个格子里写着'R'或者'F',R代表这块土地被赐予了rainbow,F代表这块土地被赐予了freda。现
阅读全文
摘要:D. Laying Cables time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output One-dimensional country
阅读全文
摘要:F. Two Points time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output F. Two Points time limit p
阅读全文
摘要:1619 - Feel Good Time limit: 3.000 seconds Bill is developing a new mathematical theory for human emotions. His recent investigations are dedi- cated
阅读全文
摘要:B. Queue time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output B. Queue time limit per test 2
阅读全文
摘要:E. Mike and Geometry Problem time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Mike wants
阅读全文
摘要:A:2016 2016 Given a 2×2 matrix A=(a11a21a12a22), find An where A1=A,An=A×An−1. As the result may be large, you are going to find only the remainder af
阅读全文
摘要:C. Painting Fence time limit per test 1 second memory limit per test 512 megabytes input standard input output standard output C. Painting Fence time
阅读全文
摘要:中位数计数 Time Limit: 12000/6000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 909 Accepted Submission(s): 346 Problem De
阅读全文
摘要:B. Students and Shoelaces time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Anna and Maria
阅读全文
摘要:Matrix Time Limit: 3000/1500 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Problem Description There is a matrix M that has n rows and
阅读全文