Codeforces Beta Round 50

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
54 Codeforces Beta Round 50 FINISHED False 7200 481671923 Jan. 11, 2011, 8:15 a.m.

Problems

Solved
Index
Name
Type
Tags
Community Tag
Rating
( 213 ) E Vacuum Сleaner PROGRAMMING geometry 2700

One winter evening the Hedgehog was relaxing at home in his cozy armchair and clicking through the TV channels. Stumbled on an issue of «TopShop», the Hedgehog was about to change the channel when all of a sudden he was stopped by an advertisement of a new wondrous invention. Actually, a vacuum cleaner was advertised there. It was called Marvellous Vacuum and it doesn't even need a human to operate it while it cleans! The vacuum cleaner can move around the flat on its own: it moves in some direction and if it hits an obstacle there, it automatically chooses a new direction. Sooner or later this vacuum cleaner will travel through all the room and clean it all. Having remembered how much time the Hedgehog spends every time on cleaning (surely, no less than a half of the day), he got eager to buy this wonder. However, the Hedgehog quickly understood that the cleaner has at least one weak point: it won't clean well in the room's corners because it often won't able to reach the corner due to its shape. To estimate how serious is this drawback in practice, the Hedgehog asked you to write for him the corresponding program. You will be given the cleaner's shape in the top view. We will consider only the cases when the vacuum cleaner is represented as a convex polygon. The room is some infinitely large rectangle. We consider one corner of this room and want to find such a rotation of the vacuum cleaner so that it, being pushed into this corner, will leave the minimum possible area in the corner uncovered. The first line contains an integer N which represents the number of vertices of the vacuum cleaner's polygon ( 3 ≤ N ≤ 4·10 4 ). Then follow N lines each containing two numbers — the coordinates of a vertex of the polygon. All the coordinates are integer and their absolute values do not exceed 10 6 . It is guaranteed that the given polygon is nondegenerate and convex (no three points lie on the same line). The polygon vertices are given in a clockwise or counter-c

Tutorials

Codeforces Beta Round #50: Editorial for problem E

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
256391 agul E Jan. 21, 2011, 3:38 p.m. OK Delphi TESTS 104 50 1843200 2700
252016 evg-zhabotinsky E Jan. 14, 2011, 5:25 p.m. OK Delphi TESTS 104 50 1843200 2700
22203995 Jin_Haonan E Nov. 14, 2016, 7:53 a.m. OK GNU C++ TESTS 104 15 512000 2700
35924384 zyding E March 4, 2018, 1:36 p.m. OK GNU C++ TESTS 104 30 6860800 2700
5616310 zhj E Jan. 4, 2014, 2:18 p.m. OK GNU C++ TESTS 104 31 1945600 2700
37251949 vjudge4 E April 12, 2018, 1:45 p.m. OK GNU C++ TESTS 104 31 4198400 2700
35866781 248926 E March 3, 2018, 2:46 a.m. OK GNU C++ TESTS 104 31 4710400 2700
13813521 130705009 E Oct. 23, 2015, 6:17 p.m. OK GNU C++ TESTS 104 31 24985600 2700
11273663 Amr_Hassan E May 26, 2015, 5:30 a.m. OK GNU C++ TESTS 104 46 819200 2700
18921239 Tiny E July 6, 2016, 3:48 p.m. OK GNU C++ TESTS 104 46 921600 2700
9124955 hnu13zph E Dec. 14, 2014, 6:31 a.m. OK GNU C++ TESTS 104 46 2457600 2700
5040030 kawazaki E Nov. 10, 2013, 5 a.m. OK GNU C++ TESTS 104 46 4812800 2700
2905047 Archon.JK E Jan. 11, 2013, 1:09 p.m. OK GNU C++0x TESTS 104 31 307200 2700
2905065 Archon.JK E Jan. 11, 2013, 1:18 p.m. OK GNU C++0x TESTS 104 46 307200 2700
35953373 Darling-IcePrincess_1968 E March 5, 2018, 12:23 a.m. OK GNU C++11 TESTS 104 15 2662400 2700
11115827 ftiasch E May 16, 2015, 9:59 a.m. OK GNU C++11 TESTS 104 31 614400 2700
12438555 Belonogov E Aug. 10, 2015, 12:38 p.m. OK GNU C++11 TESTS 104 31 1638400 2700
11001552 Sklyack E May 5, 2015, 12:08 a.m. OK GNU C++11 TESTS 104 31 1638400 2700
35908581 King_George E March 4, 2018, 6:46 a.m. OK GNU C++11 TESTS 104 31 2560000 2700
20177921 2016 E Aug. 26, 2016, 3:03 p.m. OK GNU C++11 TESTS 104 31 2867200 2700
35888118 tqyaaaaaaaang E March 3, 2018, 2:16 p.m. OK GNU C++11 TESTS 104 31 2969600 2700
17415131 Y_UME E April 21, 2016, 6:26 a.m. OK GNU C++11 TESTS 104 31 3481600 2700
17083497 freebsdx E April 1, 2016, 1:44 a.m. OK GNU C++11 TESTS 104 31 27136000 2700
65734914 vjudge5 E Nov. 26, 2019, 7:17 a.m. OK GNU C++11 TESTS 104 46 614400 2700
35517024 iqqsoszs E Feb. 20, 2018, 9:34 a.m. OK GNU C++14 TESTS 104 31 2867200 2700
23487214 ToTLeS E Jan. 1, 2017, 5:11 p.m. OK GNU C++14 TESTS 104 31 4403200 2700
56016022 sorry_im_smurfing E June 24, 2019, 9:15 p.m. OK GNU C++14 TESTS 104 46 1638400 2700
35877938 ugly2333 E March 3, 2018, 10:09 a.m. OK GNU C++14 TESTS 104 46 3788800 2700
23484196 Reyna E Jan. 1, 2017, 1:34 p.m. OK GNU C++14 TESTS 104 78 17920000 2700
23621787 Ali.Pi E Jan. 7, 2017, 10:29 a.m. OK GNU C++14 TESTS 104 78 27136000 2700
46657859 irkstepanov E Dec. 5, 2018, 5:21 p.m. OK GNU C++14 TESTS 104 264 716800 2700
40750409 Gediminas E July 25, 2018, 5:23 p.m. OK GNU C++14 TESTS 104 311 5734400 2700
56478667 L.SA_YK E July 3, 2019, 2:56 p.m. OK GNU C++17 TESTS 104 46 512000 2700
40861223 .__. E July 27, 2018, 9:33 p.m. OK GNU C++17 TESTS 104 46 512000 2700
40712930 .__. E July 24, 2018, 5:14 p.m. OK GNU C++17 TESTS 104 46 512000 2700
64833002 hjk1030 E Nov. 13, 2019, 4 p.m. OK GNU C++17 TESTS 104 62 614400 2700
58505037 user02 E Aug. 9, 2019, 4:02 p.m. OK GNU C++17 TESTS 104 62 614400 2700
38258596 ruo E May 15, 2018, 6:38 a.m. OK GNU C++17 TESTS 104 78 6144000 2700
42340077 xuanquang1999 E Sept. 1, 2018, 4:29 p.m. OK GNU C++17 TESTS 104 280 1024000 2700
245805 Egor E Jan. 11, 2011, 9:38 a.m. OK Java 6 TESTS 104 90 43417600 2700
245992 MaxBuzz E Jan. 11, 2011, 9:54 a.m. OK Java 6 TESTS 104 160 43417600 2700
246380 Petr E Jan. 11, 2011, 10:53 a.m. OK Java 6 TESTS 104 170 43417600 2700
246300 winger E Jan. 11, 2011, 10:43 a.m. OK Java 6 TESTS 104 280 43622400 2700
444087 TomConerly E May 9, 2011, 11:38 p.m. OK Java 6 TESTS 104 420 43315200 2700
15142669 HappyNewYearMike E Dec. 31, 2015, 10:38 p.m. OK MS C++ TESTS 104 31 1843200 2700
7823597 vjudge4 E Sept. 18, 2014, 7:21 a.m. OK MS C++ TESTS 104 46 2457600 2700
248725 2222 E Jan. 13, 2011, 10:23 p.m. OK MS C++ TESTS 104 50 2764800 2700
370765 Connector E April 6, 2011, 7:47 a.m. OK MS C++ TESTS 104 80 2048000 2700
246602 maksay E Jan. 11, 2011, 12:11 p.m. OK MS C++ TESTS 104 80 3174400 2700
246136 pperm E Jan. 11, 2011, 10:08 a.m. OK MS C++ TESTS 104 80 6963200 2700
247233 Slevin E Jan. 11, 2011, 8:05 p.m. OK MS C++ TESTS 104 90 3788800 2700
246762 RAVEman E Jan. 11, 2011, 1:57 p.m. OK MS C++ TESTS 104 170 2252800 2700
638822 dlehdgh E Aug. 26, 2011, 9:04 a.m. OK MS C++ TESTS 104 1450 2662400 2700

remove filters

Back to search problems