随笔分类 - codeforces
摘要: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
        阅读全文
                
摘要: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
        阅读全文
                
摘要: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
        阅读全文
                
摘要: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
        阅读全文
                
摘要: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
        阅读全文
                
摘要: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
        阅读全文
                
摘要:To stay woke and attentive during classes, Karen needs some coffee! Karen, a coffee aficionado, wants to know the optimal temperature for brewing the 
        阅读全文
                
摘要: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 
        阅读全文
                
摘要: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
        阅读全文
                
摘要: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 
        阅读全文
                
摘要: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 
        阅读全文
                
摘要: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 (
        阅读全文
                
摘要: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, 
        阅读全文
                
摘要: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
        阅读全文
                
摘要: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
        阅读全文
                
摘要: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
        阅读全文
                
摘要: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
        阅读全文
                
摘要:Vladik had started reading a complicated book about algorithms containing n pages. To improve understanding of what is written, his friends advised hi
        阅读全文
                
摘要: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
        阅读全文
                
摘要: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 
        阅读全文
                
                    
                
浙公网安备 33010602011771号