Codeforces Beta Round 66

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
73 Codeforces Beta Round 66 FINISHED False 9000 473983223 April 10, 2011, 8 a.m.

Problems

Solved
Index
Name
Type
Tags
Community Tag
Rating
( 107 ) F Plane of Tanks PROGRAMMING brute force geometry 2700

Vasya plays the Plane of Tanks. The tanks in this game keep trying to finish each other off. But your "Pedalny" is not like that... He just needs to drive in a straight line from point A to point B on the plane. Unfortunately, on the same plane are n enemy tanks. We shall regard all the tanks as points. At the initial moment of time Pedalny is at the point A . Enemy tanks would be happy to destroy it immediately, but initially their turrets are tuned in other directions. Specifically, for each tank we know the initial rotation of the turret a i (the angle in radians relative to the OX axis in the counterclockwise direction) and the maximum speed of rotation of the turret w i (radians per second). If at any point of time a tank turret will be aimed precisely at the tank Pedalny, then the enemy fires and it never misses. Pedalny can endure no more than k shots. Gun reloading takes very much time, so we can assume that every enemy will produce no more than one shot. Your task is to determine what minimum speed of v Pedalny must have to get to the point B . It is believed that Pedalny is able to instantly develop the speed of v , and the first k shots at him do not reduce the speed and do not change the coordinates of the tank. The first line contains 4 numbers – the coordinates of points A and B (in meters), the points do not coincide. On the second line number n is given ( 1 ≤ n ≤ 10 4 ). It is the number of enemy tanks. Each of the following n lines contain the coordinates of a corresponding tank x i , y i and its parameters a i and w i ( 0 ≤ a i ≤ 2π , 0 ≤ w i ≤ 100 ). Numbers a i and w i contain at most 5 digits after the decimal point. All coordinates are integers and their absolute values do not exceed 10 5 . Enemy tanks can rotate a turret in the clockwise as well as in the counterclockwise direction at the angular speed of not more than w i . It is guaranteed that each of the enemy tanks will need at least 0.1 seconds to aim at any point of the segmen

Tutorials

Codeforces Beta Round #66 editorial: Problems A, B, C

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
456962 ruban F May 16, 2011, 2:47 p.m. OK Delphi TESTS 67 310 1843200 2700
456919 ruban F May 16, 2011, 2:11 p.m. OK Delphi TESTS 67 770 1843200 2700
456965 ruban F May 16, 2011, 2:49 p.m. OK FPC TESTS 67 440 2252800 2700
56016624 sorry_im_smurfing F June 24, 2019, 9:49 p.m. OK FPC TESTS 67 841 204800 2700
35897639 ______u______ F March 3, 2018, 6 p.m. OK FPC TESTS 67 1153 1740800 2700
35897559 _____k_____ F March 3, 2018, 5:58 p.m. OK FPC TESTS 67 1153 1740800 2700
35897257 ______n______ F March 3, 2018, 5:48 p.m. OK FPC TESTS 67 1153 1740800 2700
35897045 _____i_____ F March 3, 2018, 5:42 p.m. OK FPC TESTS 67 1153 1740800 2700
35890895 ______h______ F March 3, 2018, 3:02 p.m. OK FPC TESTS 67 1153 1740800 2700
35890861 ______k______ F March 3, 2018, 3:02 p.m. OK FPC TESTS 67 1153 1740800 2700
35890478 ______i______ F March 3, 2018, 2:56 p.m. OK FPC TESTS 67 1153 1740800 2700
3167151 konstantanter F Feb. 21, 2013, 12:02 p.m. OK FPC TESTS 67 2120 204800 2700
381634 arseny30 F April 12, 2011, 5:38 p.m. OK GNU C++ TESTS 67 200 1638400 2700
8437538 guille F Oct. 27, 2014, 4:28 p.m. OK GNU C++ TESTS 67 234 4505600 2700
9008887 hnu13zph F Dec. 7, 2014, 11:29 a.m. OK GNU C++ TESTS 67 249 614400 2700
443388 watashi F May 9, 2011, 1:34 a.m. OK GNU C++ TESTS 67 270 1638400 2700
377537 tomash_em F April 10, 2011, 10:56 p.m. OK GNU C++ TESTS 67 310 1945600 2700
445440 maxim_polt F May 12, 2011, 4:30 a.m. OK GNU C++ TESTS 67 340 1638400 2700
381630 arseny30 F April 12, 2011, 5:37 p.m. OK GNU C++ TESTS 67 360 1638400 2700
15141347 HappyNewYearMike F Dec. 31, 2015, 9:23 p.m. OK GNU C++ TESTS 67 436 307200 2700
13832523 130705009 F Oct. 25, 2015, 2:29 a.m. OK GNU C++ TESTS 67 436 307200 2700
16989856 RNS3 F March 28, 2016, 4:02 p.m. OK GNU C++ TESTS 67 468 6246400 2700
6986394 FancyCoder F June 30, 2014, 1:29 p.m. OK GNU C++0x TESTS 67 2168 102400 2700
46603459 luogu_bot4 F Dec. 4, 2018, 3:10 p.m. OK GNU C++11 TESTS 67 234 409600 2700
46545387 luogu_bot4 F Dec. 3, 2018, 2:16 p.m. OK GNU C++11 TESTS 67 249 409600 2700
46545312 luogu_bot4 F Dec. 3, 2018, 2:14 p.m. OK GNU C++11 TESTS 67 264 409600 2700
46545303 luogu_bot3 F Dec. 3, 2018, 2:14 p.m. OK GNU C++11 TESTS 67 264 409600 2700
57905820 lopare F July 28, 2019, 5:34 p.m. OK GNU C++11 TESTS 67 390 307200 2700
17075019 freebsdx F March 31, 2016, 1:42 p.m. OK GNU C++11 TESTS 67 498 2355200 2700
43094089 KhaledKEE F Sept. 19, 2018, 9:09 p.m. OK GNU C++14 TESTS 67 374 1126400 2700
36876968 Geo_01 F April 2, 2018, 11:54 a.m. OK GNU C++14 TESTS 67 467 3686400 2700
39062836 ruo F June 9, 2018, 7:29 a.m. OK GNU C++17 TESTS 67 265 512000 2700
377390 Petr F April 10, 2011, 6:48 p.m. OK Java 6 TESTS 67 1590 43622400 2700
444205 TomConerly F May 10, 2011, 6:32 a.m. OK Java 6 TESTS 67 2640 43520000 2700
444210 TomConerly F May 10, 2011, 6:37 a.m. OK Java 6 TESTS 67 2670 43520000 2700
23331161 Chapecoense F Dec. 26, 2016, 2 a.m. OK Java 8 TESTS 67 920 20889600 2700
731506 X-ray-X F Sept. 30, 2011, 11:01 a.m. OK MS C++ TESTS 67 170 1433600 2700
17229334 Los_Angelos_Laycurse F April 8, 2016, 12:51 p.m. OK MS C++ TESTS 67 187 2560000 2700
17229430 Los_Angelos_Laycurse F April 8, 2016, 12:56 p.m. OK MS C++ TESTS 67 202 2560000 2700
40992875 ReaLNero1 F July 31, 2018, 1:37 a.m. OK MS C++ TESTS 67 217 307200 2700
17229113 Los_Angelos_Laycurse F April 8, 2016, 12:38 p.m. OK MS C++ TESTS 67 312 2560000 2700
17229281 Los_Angelos_Laycurse F April 8, 2016, 12:48 p.m. OK MS C++ TESTS 67 327 2457600 2700
17229045 Los_Angelos_Laycurse F April 8, 2016, 12:35 p.m. OK MS C++ TESTS 67 327 2560000 2700

remove filters

Back to search problems