Codeforces Round 152 (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
248 Codeforces Round 152 (Div. 2) FINISHED False 8100 383840997 Nov. 25, 2012, 3:30 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 857 ) C Robo-Footballer PROGRAMMING binary search geometry 1900

B"It's a beautiful April day and Wallace is playing football with his friends. But his friends do not know that Wallace actually stayed home with Gromit and sent them his robotic self instead. Robo-Wallace has several advantages over the other guys. For example, he can hit the ball directly to the specified point. And yet, the notion of a giveaway is foreign to him. The combination of these features makes the Robo-Wallace the perfect footballer -- as soon as the ball gets to him, he can just aim and hit the goal. He followed this tactics in the first half of the match, but he hit the goal rarely. The opposing team has a very good goalkeeper who catches most of the balls that fly directly into the goal. But Robo-Wallace is a quick thinker, he realized that he can cheat the goalkeeper. After all, they are playing in a football box with solid walls. Robo-Wallace can kick the ball to the other side, then the goalkeeper will not try to catch the ball. Then, if the ball bounces off the wall and flies into the goal, the goal will at last be scored. Your task is to help Robo-Wallace to detect a spot on the wall of the football box, to which the robot should kick the ball, so that the ball bounces once and only once off this wall and goes straight to the goal. In the first half of the match Robo-Wallace got a ball in the head and was severely hit. As a result, some of the schemes have been damaged. Because of the damage, Robo-Wallace can only aim to his right wall (Robo-Wallace is standing with his face to the opposing team's goal). The football box is rectangular. Let's introduce a two-dimensional coordinate system so that point (0, 0) lies in the lower left corner of the field, if you look at the box above. Robo-Wallace is playing for the team, whose goal is to the right. It is an improvised football field, so the gate of Robo-Wallace's rivals may be not in the middle of the left wall. In the given coordinate system you are given: A goal is scored when the center"...

Tutorials

Разбор задач Codeforces Round #152

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
2664507 San4eS C Nov. 26, 2012, 6:01 p.m. OK Delphi TESTS 83 31 0 1900
2657899 Shkiper C Nov. 26, 2012, 12:29 p.m. OK Delphi TESTS 83 31 0 1900
2650764 ruban C Nov. 25, 2012, 7:12 p.m. OK Delphi TESTS 83 31 0 1900
2646594 KaiZeR C Nov. 25, 2012, 4:40 p.m. OK Delphi TESTS 83 31 102400 1900
2667796 Misha100896 C Nov. 27, 2012, 11:17 a.m. OK Delphi TESTS 83 62 102400 1900
4040608 PeterTong97 C July 9, 2013, 1:33 a.m. OK FPC TESTS 83 15 0 1900
3651971 Andra_28 C April 29, 2013, 5:24 p.m. OK FPC TESTS 83 15 0 1900
2926780 Chen_ChaoRui C Jan. 15, 2013, 11:33 a.m. OK FPC TESTS 83 15 0 1900
2669861 y.kemaev C Nov. 27, 2012, 5:53 p.m. OK FPC TESTS 83 31 0 1900
2669171 Dima_qwer C Nov. 27, 2012, 3:15 p.m. OK FPC TESTS 83 31 0 1900
2669147 Dima_qwer C Nov. 27, 2012, 3:11 p.m. OK FPC TESTS 83 31 0 1900
2668647 nhandi C Nov. 27, 2012, 1:42 p.m. OK FPC TESTS 83 31 0 1900
2664797 Wsl_F C Nov. 26, 2012, 6:57 p.m. OK FPC TESTS 83 31 0 1900
2664433 Wsl_F C Nov. 26, 2012, 5:48 p.m. OK FPC TESTS 83 31 0 1900
2655536 ig_dug C Nov. 26, 2012, 2:19 a.m. OK FPC TESTS 83 31 0 1900
3007146 gxnncrx1993 C Jan. 25, 2013, 10:11 a.m. OK GNU C TESTS 83 15 0 1900
6584501 waterfall C May 11, 2014, 1:10 a.m. OK GNU C TESTS 83 30 0 1900
2651277 NoSoul C Nov. 25, 2012, 7:59 p.m. OK GNU C TESTS 83 31 0 1900
2650534 ChuckLeeQB7 C Nov. 25, 2012, 6:59 p.m. OK GNU C TESTS 83 31 0 1900
2650366 kawatea C Nov. 25, 2012, 6:52 p.m. OK GNU C TESTS 83 31 0 1900
2648077 want_sleep C Nov. 25, 2012, 5:12 p.m. OK GNU C TESTS 83 31 0 1900
4051081 LucasJA C July 11, 2013, 2:16 p.m. OK GNU C++ TESTS 83 15 0 1900
3994027 dreamoon_love_AA C June 29, 2013, 10 p.m. OK GNU C++ TESTS 83 15 0 1900
3952308 CA72 C June 23, 2013, 6:58 p.m. OK GNU C++ TESTS 83 15 0 1900
3794199 qwdqkh1 C May 30, 2013, 12:05 p.m. OK GNU C++ TESTS 83 15 0 1900
3669411 zeonsgtr C May 4, 2013, 1:53 p.m. OK GNU C++ TESTS 83 15 0 1900
3640002 wrangle1005 C April 27, 2013, 9:21 a.m. OK GNU C++ TESTS 83 15 0 1900
3497877 dps C April 9, 2013, 7:55 p.m. OK GNU C++ TESTS 83 15 0 1900
3477024 vjudge2 C April 5, 2013, 2:24 p.m. OK GNU C++ TESTS 83 15 0 1900
3475190 vjudge5 C April 5, 2013, 2:37 a.m. OK GNU C++ TESTS 83 15 0 1900
3472383 vjudge4 C April 4, 2013, 10:02 a.m. OK GNU C++ TESTS 83 15 0 1900
2865233 hza C Jan. 2, 2013, 4:35 a.m. OK GNU C++0x TESTS 83 15 0 1900
2671439 Excelsiour C Nov. 28, 2012, 6:16 a.m. OK GNU C++0x TESTS 83 31 0 1900
2656083 problem-solved C Nov. 26, 2012, 5:32 a.m. OK GNU C++0x TESTS 83 31 0 1900
2649377 UESTCJHU C Nov. 25, 2012, 5:37 p.m. OK GNU C++0x TESTS 83 31 0 1900
2644143 jonathanasdf C Nov. 25, 2012, 3:55 p.m. OK GNU C++0x TESTS 83 31 0 1900
9741828 Baby_Steps C Feb. 7, 2015, 4:05 a.m. OK GNU C++0x TESTS 83 60 0 1900
9733411 Luqman C Feb. 6, 2015, 4:10 a.m. OK GNU C++0x TESTS 83 62 0 1900
21105216 vjudge3 C Oct. 2, 2016, 4:18 a.m. OK GNU C++11 TESTS 83 30 0 1900
16342340 Cuellius C Feb. 26, 2016, 8:26 a.m. OK GNU C++11 TESTS 83 30 0 1900
15455789 I_love_Hoang_Yen C Jan. 20, 2016, 3:51 p.m. OK GNU C++11 TESTS 83 30 0 1900
15455755 I_love_Hoang_Yen C Jan. 20, 2016, 3:49 p.m. OK GNU C++11 TESTS 83 30 0 1900
14905182 IPRIT C Dec. 20, 2015, 10:03 p.m. OK GNU C++11 TESTS 83 30 0 1900
33524313 n_dao107 C Dec. 23, 2017, 4:13 a.m. OK GNU C++11 TESTS 83 30 2048000 1900
32754688 jPerlin C Nov. 28, 2017, 3:31 p.m. OK GNU C++11 TESTS 83 30 2048000 1900
21584034 cjtoribio C Oct. 19, 2016, 6:51 a.m. OK GNU C++11 TESTS 83 30 2048000 1900
21584011 cjtoribio C Oct. 19, 2016, 6:50 a.m. OK GNU C++11 TESTS 83 30 2048000 1900
21584003 cjtoribio C Oct. 19, 2016, 6:50 a.m. OK GNU C++11 TESTS 83 30 2048000 1900
20903956 THOOR_001 C Sept. 25, 2016, 8:49 a.m. OK GNU C++14 TESTS 83 30 0 1900
20554599 GoingFinals2 C Sept. 12, 2016, 6:27 p.m. OK GNU C++14 TESTS 83 30 0 1900
30268261 Minnakhmetov C Sept. 11, 2017, 2:49 p.m. OK GNU C++14 TESTS 83 30 102400 1900
31151829 Vlad1k C Oct. 8, 2017, 6:11 p.m. OK GNU C++14 TESTS 83 30 204800 1900
27912242 vjudge5 C June 19, 2017, 8:02 p.m. OK GNU C++14 TESTS 83 30 204800 1900
32763573 vjudge4 C Nov. 29, 2017, 1:23 a.m. OK GNU C++14 TESTS 83 30 1945600 1900
58543065 vjudge4 C Aug. 10, 2019, 3:10 p.m. OK GNU C++14 TESTS 83 60 0 1900
27930351 bertho_coder C June 20, 2017, 6:18 p.m. OK GNU C++14 TESTS 83 60 2048000 1900
59252200 HENUCYT C Aug. 22, 2019, 4:40 a.m. OK GNU C++14 TESTS 83 62 0 1900
58641094 vjudge5 C Aug. 12, 2019, 3:37 a.m. OK GNU C++14 TESTS 83 62 0 1900
38997815 NAbdulla C June 6, 2018, 2:53 p.m. OK GNU C++17 TESTS 83 60 409600 1900
38997682 NAbdulla C June 6, 2018, 2:46 p.m. OK GNU C++17 TESTS 83 60 409600 1900
69672558 vjudge4 C Jan. 28, 2020, 1:24 p.m. OK GNU C++17 TESTS 83 62 0 1900
69226632 tnakao C Jan. 21, 2020, 7:33 a.m. OK GNU C++17 TESTS 83 62 0 1900
60741700 kempusss C Sept. 17, 2019, 8:39 p.m. OK GNU C++17 TESTS 83 62 0 1900
58496796 vjudge1 C Aug. 9, 2019, 12:31 p.m. OK GNU C++17 TESTS 83 62 0 1900
55391091 chongryong C June 10, 2019, 9:45 a.m. OK GNU C++17 TESTS 83 62 0 1900
55318726 chongryong C June 9, 2019, 2:12 a.m. OK GNU C++17 TESTS 83 62 0 1900
54893198 quake0 C May 31, 2019, 10:33 p.m. OK GNU C++17 TESTS 83 62 0 1900
54892490 quake0 C May 31, 2019, 9:46 p.m. OK GNU C++17 TESTS 83 62 0 1900
2667466 I_love_Malika C Nov. 27, 2012, 10:09 a.m. OK Java 6 TESTS 83 78 0 1900
2650797 fayyaz C Nov. 25, 2012, 7:15 p.m. OK Java 6 TESTS 83 78 0 1900
2669656 alexyz C Nov. 27, 2012, 5:05 p.m. OK Java 6 TESTS 83 93 0 1900
2667472 I_love_Malika C Nov. 27, 2012, 10:10 a.m. OK Java 6 TESTS 83 93 0 1900
2667423 I_love_Malika C Nov. 27, 2012, 10 a.m. OK Java 6 TESTS 83 93 0 1900
2654959 gh_ost C Nov. 25, 2012, 9:40 p.m. OK Java 6 TESTS 83 93 0 1900
2673005 siberiana C Nov. 28, 2012, 1:20 p.m. OK Java 6 TESTS 83 109 0 1900
2668393 DexTrom C Nov. 27, 2012, 1:02 p.m. OK Java 6 TESTS 83 109 0 1900
2647485 ixxa C Nov. 25, 2012, 5:01 p.m. OK Java 6 TESTS 83 109 0 1900
2646878 ahmadabdolkader C Nov. 25, 2012, 4:55 p.m. OK Java 6 TESTS 83 109 0 1900
3823135 Zzyzx C June 4, 2013, 11:43 p.m. OK Java 7 TESTS 83 93 0 1900
2669641 nitegazer C Nov. 27, 2012, 5:01 p.m. OK Java 7 TESTS 83 93 0 1900
2646139 zloi.timur C Nov. 25, 2012, 4:28 p.m. OK Java 7 TESTS 83 93 0 1900
2679724 Viktor C Nov. 30, 2012, 10:33 a.m. OK Java 7 TESTS 83 109 0 1900
2654975 master_j C Nov. 25, 2012, 9:42 p.m. OK Java 7 TESTS 83 109 0 1900
2650824 vadimmm C Nov. 25, 2012, 7:17 p.m. OK Java 7 TESTS 83 109 0 1900
3360145 dai1741 C March 20, 2013, 9:44 a.m. OK Java 7 TESTS 83 109 102400 1900
3828108 Footman C June 6, 2013, 1:46 p.m. OK Java 7 TESTS 83 109 204800 1900
2656823 lip_of_cygnus C Nov. 26, 2012, 9:19 a.m. OK Java 7 TESTS 83 156 0 1900
7377010 ironman7453 C Aug. 8, 2014, 2:57 p.m. OK Java 7 TESTS 83 186 0 1900
19073080 Tracing C July 13, 2016, 12:47 p.m. OK MS C++ TESTS 83 30 0 1900
16405835 Gewery C Feb. 28, 2016, 3:42 p.m. OK MS C++ TESTS 83 30 0 1900
14898454 IPRIT C Dec. 20, 2015, 12:05 p.m. OK MS C++ TESTS 83 30 0 1900
6552360 Elk-Cloner C May 5, 2014, 9:38 a.m. OK MS C++ TESTS 83 30 0 1900
4949275 k1nval NutZ C Nov. 1, 2013, 7:21 a.m. OK MS C++ TESTS 83 30 0 1900
4948425 tzzcl C Nov. 1, 2013, 3:24 a.m. OK MS C++ TESTS 83 30 0 1900
4922402 Rustt C Oct. 28, 2013, 5:26 p.m. OK MS C++ TESTS 83 31 0 1900
2700186 craybeats C Dec. 6, 2012, 12:24 p.m. OK MS C++ TESTS 83 31 0 1900
2695434 Seyaua C Dec. 4, 2012, 8:33 p.m. OK MS C++ TESTS 83 31 0 1900
2690999 istepura C Dec. 3, 2012, 12:45 p.m. OK MS C++ TESTS 83 31 0 1900
2692490 mishagam C Dec. 3, 2012, 7:58 p.m. OK Ocaml TESTS 83 31 0 1900
2670880 Darooha C Nov. 28, 2012, 12:30 a.m. OK Ocaml TESTS 83 31 0 1900
2670877 Darooha C Nov. 28, 2012, 12:28 a.m. OK Ocaml TESTS 83 31 0 1900
68332131 dnkywin C Jan. 6, 2020, 7:21 p.m. OK PyPy 3 TESTS 83 312 0 1900
2786493 xlk C Dec. 17, 2012, 10:43 a.m. OK Python 2 TESTS 83 62 0 1900
2694666 KBRCH C Dec. 4, 2012, 3:32 p.m. OK Python 2 TESTS 83 62 0 1900
2681640 Wizmann C Nov. 30, 2012, 5:30 p.m. OK Python 2 TESTS 83 62 0 1900
2669415 inv1sible C Nov. 27, 2012, 4:05 p.m. OK Python 2 TESTS 83 62 0 1900
2668394 daidailanlan C Nov. 27, 2012, 1:02 p.m. OK Python 2 TESTS 83 62 0 1900
2656383 goooooooopan C Nov. 26, 2012, 6:53 a.m. OK Python 2 TESTS 83 62 0 1900
2647631 darrenhp C Nov. 25, 2012, 5:03 p.m. OK Python 2 TESTS 83 62 0 1900
2746099 joshuahmaynez C Dec. 10, 2012, 7:34 a.m. OK Python 2 TESTS 83 78 0 1900
2697123 konstantanter C Dec. 5, 2012, 1:03 p.m. OK Python 2 TESTS 83 78 0 1900
2687052 dr.ikros C Dec. 2, 2012, 3:51 p.m. OK Python 2 TESTS 83 78 0 1900

remove filters

Back to search problems