随笔分类 -  codeforces

上一页 1 ··· 5 6 7 8 9 10 11 下一页
摘要:E. Magic Stones time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output E. Magic Stones time limi 阅读全文
posted @ 2019-02-08 14:43 茄子Min 阅读(421) 评论(0) 推荐(0)
摘要:A continued fraction of height n is a fraction of form . You are given two rational numbers, one is represented as and the other one is represented as 阅读全文
posted @ 2019-01-30 21:50 茄子Min 阅读(209) 评论(0) 推荐(0)
摘要:As you might remember from the previous round, Vova is currently playing a strategic game known as Rage of Empires. Vova managed to build a large army 阅读全文
posted @ 2019-01-29 00:20 茄子Min 阅读(395) 评论(0) 推荐(0)
摘要:You are given an array a consisting of n elements. The imbalance value of some subsegment of this array is the difference between the maximum and mini 阅读全文
posted @ 2019-01-28 22:15 茄子Min 阅读(518) 评论(0) 推荐(0)
摘要:C. Really Big Numbers time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Really Big Numbe 阅读全文
posted @ 2019-01-27 22:15 茄子Min 阅读(465) 评论(0) 推荐(0)
摘要:B. Makes And The Product time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output B. Makes And Th 阅读全文
posted @ 2019-01-27 21:20 茄子Min 阅读(383) 评论(0) 推荐(0)
摘要:To stay woke and attentive during classes, Karen needs some coffee! Karen, a coffee aficionado, wants to know the optimal temperature for brewing the 阅读全文
posted @ 2019-01-26 12:31 茄子Min 阅读(415) 评论(0) 推荐(0)
摘要:On the way to school, Karen became fixated on the puzzle game on her phone! The game is played as follows. In each level, you have a grid with n rows 阅读全文
posted @ 2019-01-26 11:43 茄子Min 阅读(255) 评论(0) 推荐(0)
摘要:The only difference between easy and hard versions is a number of elements in the array. You are given an array aa consisting of nn integers. The valu 阅读全文
posted @ 2019-01-24 12:34 茄子Min 阅读(651) 评论(0) 推荐(0)
摘要:You have a garland consisting of nn lamps. Each lamp is colored red, green or blue. The color of the ii-th lamp is sisi ('R', 'G' and 'B' — colors of 阅读全文
posted @ 2019-01-24 12:29 茄子Min 阅读(518) 评论(0) 推荐(0)
摘要:You have a garland consisting of nn lamps. Each lamp is colored red, green or blue. The color of the ii-th lamp is sisi ('R', 'G' and 'B' — colors of 阅读全文
posted @ 2019-01-24 12:25 茄子Min 阅读(678) 评论(0) 推荐(0)
摘要:Recently you have received two positive integer numbers xx and yy. You forgot them, but you remembered a shuffled list containing all divisors of xx ( 阅读全文
posted @ 2019-01-24 12:20 茄子Min 阅读(708) 评论(0) 推荐(0)
摘要:You are given two segments [l1;r1][l1;r1] and [l2;r2][l2;r2] on the xx-axis. It is guaranteed that l1<r1l1<r1 and l2<r2l2<r2. Segments may intersect, 阅读全文
posted @ 2019-01-24 12:13 茄子Min 阅读(484) 评论(0) 推荐(0)
摘要:D. Game with modulo time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output D. Game with modulo t 阅读全文
posted @ 2019-01-23 14:00 茄子Min 阅读(577) 评论(0) 推荐(0)
摘要:On his trip to Luxor and Aswan, Sagheer went to a Nubian market to buy some souvenirs for his friends and relatives. The market has some strange rules 阅读全文
posted @ 2019-01-21 15:22 茄子Min 阅读(350) 评论(0) 推荐(0)
摘要:A. Salem and Sticks time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output A. Salem and Sticks t 阅读全文
posted @ 2019-01-20 22:49 茄子Min 阅读(549) 评论(0) 推荐(0)
摘要:D. Vladik and Favorite Game time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Vladik an 阅读全文
posted @ 2019-01-19 23:46 茄子Min 阅读(266) 评论(0) 推荐(0)
摘要:Vladik had started reading a complicated book about algorithms containing n pages. To improve understanding of what is written, his friends advised hi 阅读全文
posted @ 2019-01-17 23:11 茄子Min 阅读(286) 评论(0) 推荐(0)
摘要:This is an interactive problem. In the output section below you will see the information about flushing the output. On Sunday Leha the hacker took Nur 阅读全文
posted @ 2019-01-17 21:30 茄子Min 阅读(288) 评论(0) 推荐(0)
摘要:Summer holidays! Someone is going on trips, someone is visiting grandparents, but someone is trying to get a part-time job. This summer Noora decided 阅读全文
posted @ 2019-01-17 12:20 茄子Min 阅读(397) 评论(0) 推荐(0)

上一页 1 ··· 5 6 7 8 9 10 11 下一页