Codeforces Round 567 (Div. 2)

Solutions are presented as using the least memory and the fastest execution time. It also takes the top 10 most recent solutions from each language. If you want to limit to a specific index, click the "Solved" button and go to that problem.

ContestId
Name
Phase
Frozen
Duration (Seconds)
Relative Time
Start Time
1181 Codeforces Round 567 (Div. 2) FINISHED False 7200 176761487 June 16, 2019, 9:35 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 500 ) E1 A Story of One Country (Easy) PROGRAMMING brute force divide and conquer sortings 2600

B'This problem differs from the next problem only in constraints. Petya decided to visit Byteland during the summer holidays. It turned out that the history of this country is quite unusual. Initially, there were n different countries on the land that is now Berland. Each country had its own territory that was represented as a rectangle on the map. The sides of the rectangle were parallel to the axes, and the corners were located at points with integer coordinates. Territories of no two countries intersected, but it was possible that some territories touched each other. As time passed, sometimes two countries merged into one. It only happened if the union of their territories was also a rectangle. In the end only one country remained -- Byteland. Initially, each country had a rectangular castle inside its territory. Its sides were parallel to the axes and its corners had integer coordinates. Some castles might touch the border of the corresponding country and sides or other castles. Miraculously, after all the unions the castles are still intact. Unfortunately, their locations are the only information we have to restore the initial territories of the countries. Petya wonders why no information about the initial countries remained. He suspected that the whole story is a fake. You were recommended to him as a smart person. Please check whether or not there exists a possible set of initial territories that could make the story true. The first line contains a single integer n ( 1 <= q n <= q 1000 ) -- the number of countries and castles. Each of the next n lines contains four integers a_i, b_i, c_i, d_i ( 0 <= q a_i < c_i <= q 10^9 , 0 <= q b_i < d_i <= q 10^9 ) -- the coordinates of the i -th castle, where (a_i, b_i) are the coordinates of the lower left corner and (c_i, d_i) are the coordinates of the upper right corner. It is guaranteed, that no two castles intersect, however, they may touch. If ther'...

Tutorials

Editorial of Codeforces Round #567 (based on All-Russian olympiad in the name of Keldysh)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
66453902 Bench0310 E1 Dec. 7, 2019, 12:28 p.m. OK GNU C++11 TESTS 43 31 102400 2600
66451022 Bench0310 E1 Dec. 7, 2019, 11:28 a.m. OK GNU C++11 TESTS 43 31 102400 2600
57179648 zzyzzyzzyzzy E1 July 17, 2019, 6:47 a.m. OK GNU C++11 TESTS 43 31 102400 2600
55640108 mmmod_Iqs E1 June 16, 2019, 11:12 a.m. OK GNU C++11 TESTS 43 31 307200 2600
56001670 vjudge5 E1 June 24, 2019, 1:19 p.m. OK GNU C++11 TESTS 43 31 409600 2600
56036888 vjudge5 E1 June 25, 2019, 12:30 p.m. OK GNU C++11 TESTS 43 31 1945600 2600
55738964 omochan E1 June 19, 2019, 6:21 a.m. OK GNU C++11 TESTS 43 31 1945600 2600
56636553 danya090699 E1 July 6, 2019, 8 p.m. OK GNU C++11 TESTS 43 31 2355200 2600
56385248 AnchorCat E1 July 1, 2019, 10:14 a.m. OK GNU C++11 TESTS 43 31 3686400 2600
56062186 vjudge3 E1 June 26, 2019, 6:06 a.m. OK GNU C++11 TESTS 43 31 3686400 2600
55678005 SoulTch E1 June 17, 2019, 11:33 a.m. OK GNU C++14 TESTS 43 15 614400 2600
55680814 KISH_PATEL E1 June 17, 2019, 12:57 p.m. OK GNU C++14 TESTS 43 30 3891200 2600
56022377 Newusers E1 June 25, 2019, 4:41 a.m. OK GNU C++14 TESTS 43 30 8601600 2600
56190015 sillysilly E1 June 28, 2019, 7:02 a.m. OK GNU C++14 TESTS 43 30 9830400 2600
55640154 hitonanode E1 June 16, 2019, 11:12 a.m. OK GNU C++14 TESTS 43 31 204800 2600
59837349 Marckess E1 Sept. 1, 2019, 5:12 a.m. OK GNU C++14 TESTS 43 31 307200 2600
64048370 aki167yuuki E1 Nov. 1, 2019, 8:20 p.m. OK GNU C++14 TESTS 43 31 1024000 2600
58416093 860579 E1 Aug. 7, 2019, 5:03 a.m. OK GNU C++14 TESTS 43 31 2150400 2600
55669245 LODB---D E1 June 17, 2019, 6:27 a.m. OK GNU C++14 TESTS 43 31 2150400 2600
55669714 LODB---D E1 June 17, 2019, 6:45 a.m. OK GNU C++14 TESTS 43 31 2252800 2600
59506093 jiangly E1 Aug. 26, 2019, 6:10 a.m. OK GNU C++17 TESTS 43 15 2252800 2600
55656359 Theo830 E1 June 16, 2019, 5:35 p.m. OK GNU C++17 TESTS 43 15 3788800 2600
55744430 IgorI E1 June 19, 2019, 9:14 a.m. OK GNU C++17 TESTS 43 30 204800 2600
55844107 Antoine E1 June 20, 2019, 7:56 p.m. OK GNU C++17 TESTS 43 30 2048000 2600
55654102 Rahul E1 June 16, 2019, 4:11 p.m. OK GNU C++17 TESTS 43 31 0 2600
56015256 mohamedeltair E1 June 24, 2019, 8:39 p.m. OK GNU C++17 TESTS 43 31 102400 2600
55723526 hkyiitd E1 June 18, 2019, 4:31 p.m. OK GNU C++17 TESTS 43 31 102400 2600
55647324 DomiKo E1 June 16, 2019, 12:50 p.m. OK GNU C++17 TESTS 43 31 102400 2600
55643225 Felerius E1 June 16, 2019, 11:31 a.m. OK GNU C++17 TESTS 43 31 204800 2600
55715572 stefanbalaz2 E1 June 18, 2019, 12:32 p.m. OK GNU C++17 TESTS 43 31 409600 2600
58620675 catforce E1 Aug. 11, 2019, 3:55 p.m. OK Java 8 TESTS 43 171 0 2600
55977670 Musin E1 June 23, 2019, 6:33 p.m. OK Java 8 TESTS 43 171 0 2600
55674740 schillij E1 June 17, 2019, 9:45 a.m. OK Java 8 TESTS 43 171 0 2600
60371661 4mda4mda E1 Sept. 11, 2019, 2:38 a.m. OK Java 8 TESTS 43 186 0 2600
58233651 catforce E1 Aug. 3, 2019, 6:13 p.m. OK Java 8 TESTS 43 187 0 2600
60371538 4mda4mda E1 Sept. 11, 2019, 2:29 a.m. OK Java 8 TESTS 43 202 0 2600
60371185 4mda4mda E1 Sept. 11, 2019, 2:05 a.m. OK Java 8 TESTS 43 202 0 2600
55651352 tmwilliamlin168 E1 June 16, 2019, 2:43 p.m. OK Java 8 TESTS 43 202 0 2600
55637605 uwi E1 June 16, 2019, 10:57 a.m. OK Java 8 TESTS 43 217 0 2600
56187070 vjudge1 E1 June 28, 2019, 5:35 a.m. OK MS C++ TESTS 43 46 0 2600
55991591 vjudge4 E1 June 24, 2019, 7:58 a.m. OK MS C++ TESTS 43 124 8089600 2600
55654291 youx E1 June 16, 2019, 4:18 p.m. OK MS C++ 2017 TESTS 43 62 204800 2600

remove filters

Back to search problems