Educational Codeforces Round 65 (Rated for 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
1167 Educational Codeforces Round 65 (Rated for Div. 2) FINISHED False 7200 179508287 May 15, 2019, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 150 ) G Low Budget Inception PROGRAMMING brute force geometry 3000

B'So we got bored and decided to take our own guess at how would "Inception" production go if the budget for the film had been terribly low. The first scene we remembered was the one that features the whole city bending onto itself: It feels like it will require high CGI expenses, doesn 't it? Luckily, we came up with a similar-looking scene which was a tiny bit cheaper to make. Firstly, forget about 3D, that 's hard and expensive! The city is now represented as a number line (infinite to make it easier, of course). Secondly, the city doesn 't have to look natural at all. There are n buildings on the line. Each building is a square 1 x 1 . Buildings are numbered from 1 to n in ascending order of their positions. Lower corners of building i are at integer points a_i and a_i + 1 of the number line. Also the distance between any two neighbouring buildings i and i + 1 doesn 't exceed d (really, this condition is here just to make the city look not that sparse). Distance between some neighbouring buildings i and i + 1 is calculated from the lower right corner of building i to the lower left corner of building i + 1 . Finally, curvature of the bend is also really hard to simulate! Let the bend at some integer coordinate x be performed with the following algorithm. Take the ray from x to + infty and all the buildings which are on this ray and start turning the ray and the buildings counter-clockwise around point x . At some angle some building will touch either another building or a part of the line. You have to stop bending there (implementing buildings crushing is also not worth its money). Let 's call the angle between two rays in the final state the terminal angle alpha_x . The only thing left is to decide what integer point x is the best to start bending around. Fortunately, we 've already chosen m candidates to perform the bending. So, ca'...

Tutorials

67058

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
55610825 ReaLNero1 G June 16, 2019, 5:36 a.m. OK GNU C++11 TESTS 127 358 2457600 3000
54248186 CQUzbx G May 16, 2019, 3:49 p.m. OK GNU C++11 TESTS 127 373 2457600 3000
54264762 d3dx10 G May 17, 2019, 5:08 a.m. OK GNU C++11 TESTS 127 405 819200 3000
54528886 jl0x62 G May 23, 2019, 4:01 p.m. OK GNU C++11 TESTS 127 421 3993600 3000
54519427 wucstdio G May 23, 2019, 11:38 a.m. OK GNU C++11 TESTS 127 436 614400 3000
54519271 wucstdio G May 23, 2019, 11:35 a.m. OK GNU C++11 TESTS 127 452 614400 3000
54219477 wucstdio G May 16, 2019, 2:07 a.m. OK GNU C++11 TESTS 127 452 614400 3000
54219271 Stars_Souls G May 16, 2019, 1:55 a.m. OK GNU C++11 TESTS 127 452 614400 3000
54519116 wucstdio G May 23, 2019, 11:31 a.m. OK GNU C++11 TESTS 127 468 614400 3000
54312717 Crossguard G May 17, 2019, 5:20 p.m. OK GNU C++11 TESTS 127 498 8089600 3000
54848913 bhargav_0085 G May 30, 2019, 3:29 p.m. OK GNU C++14 TESTS 127 452 819200 3000
54505306 wretar G May 23, 2019, 3:11 a.m. OK GNU C++14 TESTS 127 452 819200 3000
54452601 Ma_Ster1 G May 21, 2019, 2:17 p.m. OK GNU C++14 TESTS 127 468 819200 3000
54232289 DeepanshuSaxena G May 16, 2019, 9:14 a.m. OK GNU C++14 TESTS 127 498 921600 3000
54506071 remember G May 23, 2019, 3:56 a.m. OK GNU C++14 TESTS 127 514 9011200 3000
54750244 murugappan_s G May 28, 2019, 12:31 p.m. OK GNU C++14 TESTS 127 623 1638400 3000
54216418 Benq G May 15, 2019, 9:57 p.m. OK GNU C++14 TESTS 127 639 819200 3000
59521786 cz_xuyixuan G Aug. 26, 2019, 12:07 p.m. OK GNU C++14 TESTS 127 717 819200 3000
54253652 Mindyou G May 16, 2019, 6:39 p.m. OK GNU C++14 TESTS 127 717 819200 3000
54984063 hitonanode G June 2, 2019, 2:42 p.m. OK GNU C++14 TESTS 127 717 1638400 3000
54252665 neal G May 16, 2019, 6:07 p.m. OK GNU C++17 TESTS 127 171 921600 3000
54226028 neal G May 16, 2019, 6:19 a.m. OK GNU C++17 TESTS 127 374 819200 3000
54703087 CMXRYNP G May 27, 2019, 2:25 a.m. OK GNU C++17 TESTS 127 405 2662400 3000
54451287 zh1135 G May 21, 2019, 1:39 p.m. OK GNU C++17 TESTS 127 436 819200 3000
54364012 saketh G May 18, 2019, 11:53 p.m. OK GNU C++17 TESTS 127 436 819200 3000
54218674 paper238498 G May 16, 2019, 1:20 a.m. OK GNU C++17 TESTS 127 452 819200 3000
54230629 gtx1080 G May 16, 2019, 8:34 a.m. OK GNU C++17 TESTS 127 467 921600 3000
54558682 Errichto G May 24, 2019, 12:52 p.m. OK GNU C++17 TESTS 127 468 3993600 3000
54469249 albaniliu G May 22, 2019, 3:48 a.m. OK GNU C++17 TESTS 127 499 9011200 3000
54369282 Mark2020 G May 19, 2019, 5:38 a.m. OK GNU C++17 TESTS 127 499 9011200 3000
54496129 wretar G May 22, 2019, 5:49 p.m. OK Java 8 TESTS 127 904 13926400 3000
54282551 dalt G May 17, 2019, 2:09 p.m. OK Java 8 TESTS 127 1060 31232000 3000
54728525 Atlasmoth G May 27, 2019, 9 p.m. OK MS C++ 2017 TESTS 127 1871 2252800 3000

remove filters

Back to search problems