Codeforces Round 338 (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
615 Codeforces Round 338 (Div. 2) FINISHED False 7200 285350104 Jan. 8, 2016, 2:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 993 ) E Hexagons PROGRAMMING binary search implementation math 2200

B"Ayrat is looking for the perfect code. He decided to start his search from an infinite field tiled by hexagons. For convenience the coordinate system is introduced, take a look at the picture to see how the coordinates of hexagon are defined: Ayrat is searching through the field. He started at point (0, xe2 x80 x890) and is moving along the spiral (see second picture). Sometimes he forgets where he is now. Help Ayrat determine his location after n moves. The only line of the input contains integer n (0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n xe2 x80 x89 xe2 x89 xa4 xe2 x80 x891018) -- the number of Ayrat's moves. Print two integers x and y -- current coordinates of Ayrat coordinates."...

Tutorials

Codeforces Round #338 (Div. 2) editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
15259696 ruban E Jan. 8, 2016, 7:21 p.m. OK Delphi TESTS 135 15 17612800 2200
15253952 annchous E Jan. 8, 2016, 4:01 p.m. OK FPC TESTS 135 15 0 2200
15281161 KingArthur E Jan. 10, 2016, 2:34 p.m. OK FPC TESTS 135 15 0 2200
15252733 Valerich E Jan. 8, 2016, 3:52 p.m. OK FPC TESTS 135 15 102400 2200
18017057 ArGuTe E May 21, 2016, 10:32 a.m. OK FPC TESTS 135 15 1740800 2200
15268246 zhaoxinyi E Jan. 9, 2016, 11:02 a.m. OK FPC TESTS 135 30 0 2200
18017053 ArGuTe E May 21, 2016, 10:32 a.m. OK FPC TESTS 135 30 1740800 2200
15278441 WeYoung E Jan. 10, 2016, 9:47 a.m. OK GNU C TESTS 135 15 0 2200
19646788 Piddnad1 E Aug. 5, 2016, 7:51 a.m. OK GNU C TESTS 135 15 1843200 2200
19645503 vjudge3 E Aug. 5, 2016, 6:46 a.m. OK GNU C TESTS 135 467 1843200 2200
29555852 Septher E Aug. 18, 2017, 2:48 p.m. OK GNU C++ TESTS 135 15 0 2200
22220805 vjudge5 E Nov. 15, 2016, 11:08 a.m. OK GNU C++ TESTS 135 15 0 2200
22205718 vjudge5 E Nov. 14, 2016, 10:38 a.m. OK GNU C++ TESTS 135 15 0 2200
22099952 vjudge4 E Nov. 7, 2016, 6:25 p.m. OK GNU C++ TESTS 135 15 0 2200
22063951 vjudge5 E Nov. 5, 2016, 7:40 p.m. OK GNU C++ TESTS 135 15 0 2200
20983923 sdad120 E Sept. 29, 2016, 5:32 a.m. OK GNU C++ TESTS 135 15 0 2200
17275642 dingding E April 11, 2016, 9:44 a.m. OK GNU C++ TESTS 135 15 0 2200
17036213 SoiMae E March 30, 2016, 2:56 p.m. OK GNU C++ TESTS 135 15 0 2200
16778532 vjudge3 E March 18, 2016, 9 a.m. OK GNU C++ TESTS 135 15 0 2200
21699546 vjudge4 E Oct. 23, 2016, 6:43 a.m. OK GNU C++ TESTS 135 15 0 2200
15267495 wolf1996 E Jan. 9, 2016, 10:11 a.m. OK GNU C11 TESTS 135 15 0 2200
59632709 rainboy E Aug. 28, 2019, 6:55 p.m. OK GNU C11 TESTS 135 31 0 2200
32368130 maratonando2 E Nov. 17, 2017, 2:13 a.m. OK GNU C++11 TESTS 135 15 0 2200
32368140 GabrielPessoa E Nov. 17, 2017, 2:14 a.m. OK GNU C++11 TESTS 135 15 0 2200
27336968 yanQval E May 25, 2017, 12:54 p.m. OK GNU C++11 TESTS 135 15 0 2200
22089640 00001 E Nov. 7, 2016, 7:07 a.m. OK GNU C++11 TESTS 135 15 0 2200
21969694 AWCXV E Nov. 1, 2016, 2:04 p.m. OK GNU C++11 TESTS 135 15 0 2200
20887380 amsen E Sept. 24, 2016, 12:09 p.m. OK GNU C++11 TESTS 135 15 0 2200
19582121 lmn0x4F E Aug. 2, 2016, 3:20 p.m. OK GNU C++11 TESTS 135 15 0 2200
19560538 fangbohui E Aug. 1, 2016, 12:37 p.m. OK GNU C++11 TESTS 135 15 0 2200
19302301 PotatoTree E July 21, 2016, 12:47 p.m. OK GNU C++11 TESTS 135 15 0 2200
19291074 hbcbs110 E July 21, 2016, 2:29 a.m. OK GNU C++11 TESTS 135 15 0 2200
29532107 MFoad_Aba E Aug. 17, 2017, 5:54 p.m. OK GNU C++14 TESTS 135 15 0 2200
30174448 ishu_05 E Sept. 7, 2017, 7:18 a.m. OK GNU C++14 TESTS 135 15 0 2200
26978039 Balajiganapathi E May 9, 2017, 4:06 p.m. OK GNU C++14 TESTS 135 15 0 2200
22824397 abdullah009 E Dec. 9, 2016, 2:03 a.m. OK GNU C++14 TESTS 135 15 0 2200
30198226 NiroBC E Sept. 8, 2017, 8:38 a.m. OK GNU C++14 TESTS 135 15 0 2200
38642591 pushkar12 E May 26, 2018, 7:55 p.m. OK GNU C++14 TESTS 135 15 0 2200
30036380 step_by_step E Sept. 3, 2017, 1:46 p.m. OK GNU C++14 TESTS 135 15 0 2200
29551562 vjudge2 E Aug. 18, 2017, 10:44 a.m. OK GNU C++14 TESTS 135 15 0 2200
34971849 walht E Feb. 6, 2018, 1:23 p.m. OK GNU C++14 TESTS 135 15 1843200 2200
34112291 Shuvro77 E Jan. 12, 2018, 6:05 p.m. OK GNU C++14 TESTS 135 15 1945600 2200
68289308 paulica E Jan. 5, 2020, 8:06 p.m. OK GNU C++17 TESTS 135 31 0 2200
69830534 vjudge2 E Jan. 30, 2020, 10:20 a.m. OK GNU C++17 TESTS 135 31 0 2200
69530281 vjudge5 E Jan. 25, 2020, 4:48 p.m. OK GNU C++17 TESTS 135 31 0 2200
69183440 ruo E Jan. 20, 2020, 11:06 a.m. OK GNU C++17 TESTS 135 31 0 2200
67433865 tranquanghuy E Dec. 22, 2019, 4:17 p.m. OK GNU C++17 TESTS 135 31 0 2200
64161720 klimoza E Nov. 3, 2019, 2:45 p.m. OK GNU C++17 TESTS 135 31 0 2200
64054738 Umi E Nov. 2, 2019, 12:34 a.m. OK GNU C++17 TESTS 135 31 0 2200
63986689 Leonidas E Nov. 1, 2019, 11:57 a.m. OK GNU C++17 TESTS 135 31 0 2200
60703120 NMFF0B0H E Sept. 17, 2019, 2:41 a.m. OK GNU C++17 TESTS 135 31 0 2200
57455602 thenymphsofdelphi E July 21, 2019, 11:29 a.m. OK GNU C++17 TESTS 135 31 0 2200
15738081 mkirsche E Feb. 1, 2016, 6:44 p.m. OK Java 7 TESTS 135 93 0 2200
15879741 marcose18 E Feb. 7, 2016, 3:40 p.m. OK Java 7 TESTS 135 109 0 2200
15333935 stacy992 E Jan. 13, 2016, 4:34 p.m. OK Java 7 TESTS 135 109 0 2200
15900854 alibaba E Feb. 8, 2016, 6:37 p.m. OK Java 7 TESTS 135 124 0 2200
15278204 riversouther E Jan. 10, 2016, 9:19 a.m. OK Java 7 TESTS 135 124 0 2200
15277249 riversouther E Jan. 10, 2016, 7:36 a.m. OK Java 7 TESTS 135 170 0 2200
15261142 uwi E Jan. 8, 2016, 9:45 p.m. OK Java 8 TESTS 135 109 0 2200
15617917 Guliash E Jan. 27, 2016, 6:57 p.m. OK Java 8 TESTS 135 109 0 2200
29735765 jufusong E Aug. 24, 2017, 4:20 p.m. OK Java 8 TESTS 135 109 0 2200
64674468 darren_yao E Nov. 11, 2019, 7:27 a.m. OK Java 8 TESTS 135 124 0 2200
15329828 vin_74 E Jan. 13, 2016, 11:20 a.m. OK Java 8 TESTS 135 124 0 2200
15287646 ballu12345 E Jan. 11, 2016, 12:45 p.m. OK Java 8 TESTS 135 124 0 2200
15274628 RestlessAnchoret E Jan. 9, 2016, 9:37 p.m. OK Java 8 TESTS 135 124 0 2200
15265932 meijun E Jan. 9, 2016, 8:07 a.m. OK Java 8 TESTS 135 124 0 2200
15260020 PeterASteele E Jan. 8, 2016, 7:46 p.m. OK Java 8 TESTS 135 124 0 2200
51418988 Slamur E March 17, 2019, 3:31 p.m. OK Java 8 TESTS 135 124 0 2200
15285092 selpo E Jan. 11, 2016, 7:30 a.m. OK Mono C# TESTS 135 62 204800 2200
15255293 NirShalmon E Jan. 8, 2016, 4:38 p.m. OK MS C# TESTS 135 46 102400 2200
15576638 wewark E Jan. 25, 2016, 3:29 p.m. OK MS C# TESTS 135 62 102400 2200
15261401 Beresta E Jan. 8, 2016, 10:24 p.m. OK MS C# TESTS 135 62 204800 2200
15255506 Beresta E Jan. 8, 2016, 4:40 p.m. OK MS C# TESTS 135 62 204800 2200
15257235 Beresta E Jan. 8, 2016, 5:15 p.m. OK MS C# TESTS 135 62 204800 2200
15320183 DigitalArtistKz E Jan. 12, 2016, 5:02 p.m. OK MS C# TESTS 135 62 204800 2200
15270710 og.kostya E Jan. 9, 2016, 2:21 p.m. OK MS C# TESTS 135 62 204800 2200
15261343 Beresta E Jan. 8, 2016, 10:18 p.m. OK MS C# TESTS 135 77 204800 2200
15261411 Beresta E Jan. 8, 2016, 10:26 p.m. OK MS C# TESTS 135 77 204800 2200
15314576 azukun E Jan. 12, 2016, 11:43 a.m. OK MS C# TESTS 135 140 512000 2200
15345375 sjo200 E Jan. 14, 2016, 2:18 p.m. OK MS C++ TESTS 135 15 0 2200
16082468 GooYap E Feb. 17, 2016, 4:38 p.m. OK MS C++ TESTS 135 15 0 2200
15550584 Auster E Jan. 24, 2016, 8:29 a.m. OK MS C++ TESTS 135 15 0 2200
15541657 LightRay E Jan. 23, 2016, 8 p.m. OK MS C++ TESTS 135 15 0 2200
15403515 slabodich.yan E Jan. 16, 2016, 12:38 p.m. OK MS C++ TESTS 135 15 0 2200
15392240 Carups E Jan. 15, 2016, 4:31 p.m. OK MS C++ TESTS 135 15 0 2200
15329842 DmitriyH E Jan. 13, 2016, 11:22 a.m. OK MS C++ TESTS 135 15 0 2200
15281918 vjudge2 E Jan. 10, 2016, 3:53 p.m. OK MS C++ TESTS 135 15 0 2200
15278339 tangshitao E Jan. 10, 2016, 9:37 a.m. OK MS C++ TESTS 135 15 0 2200
15274006 Kirich2323 E Jan. 9, 2016, 7:56 p.m. OK MS C++ TESTS 135 15 0 2200
15262122 Darooha E Jan. 9, 2016, 12:36 a.m. OK Ocaml TESTS 135 15 0 2200
29353669 Noureldin E Aug. 11, 2017, 1:08 p.m. OK PyPy 2 TESTS 135 139 21913600 2200
15260862 minimario E Jan. 8, 2016, 9:09 p.m. OK PyPy 3 TESTS 135 124 0 2200
59132640 Felerius E Aug. 20, 2019, 11:34 a.m. OK PyPy 3 TESTS 135 140 0 2200
15277008 rajiv E Jan. 10, 2016, 7:05 a.m. OK Python 2 TESTS 135 46 0 2200
17323116 riser00 E April 15, 2016, 6:55 a.m. OK Python 2 TESTS 135 62 0 2200
15564111 Assassin-x E Jan. 24, 2016, 10:37 p.m. OK Python 2 TESTS 135 62 0 2200
15285599 ashwani16 E Jan. 11, 2016, 8:50 a.m. OK Python 2 TESTS 135 62 0 2200
17820237 TokuchiToa E May 9, 2016, 12:40 p.m. OK Python 2 TESTS 135 62 4710400 2200
15255079 roiti46 E Jan. 8, 2016, 4:36 p.m. OK Python 2 TESTS 135 124 5427200 2200
15584455 maos E Jan. 26, 2016, 12:55 a.m. OK Python 3 TESTS 135 62 0 2200
15260019 Mateon1 E Jan. 8, 2016, 7:46 p.m. OK Python 3 TESTS 135 62 0 2200
15259680 kimiyuki E Jan. 8, 2016, 7:20 p.m. OK Python 3 TESTS 135 62 0 2200
22871584 augurar E Dec. 11, 2016, 7:03 a.m. OK Python 3 TESTS 135 62 307200 2200
15850439 Benq E Feb. 6, 2016, 10:26 p.m. OK Python 3 TESTS 135 62 307200 2200
15489893 yum E Jan. 22, 2016, 3:29 a.m. OK Python 3 TESTS 135 62 307200 2200
15283744 surokpro E Jan. 10, 2016, 7:48 p.m. OK Python 3 TESTS 135 62 307200 2200
15251059 komendart E Jan. 8, 2016, 3:40 p.m. OK Python 3 TESTS 135 77 0 2200
15621507 sxx E Jan. 28, 2016, 1:22 a.m. OK Python 3 TESTS 135 77 307200 2200
15338956 sempav E Jan. 14, 2016, 2:10 a.m. OK Python 3 TESTS 135 77 512000 2200
15251339 Leonardone E Jan. 8, 2016, 3:42 p.m. OK Ruby TESTS 135 77 102400 2200

remove filters

Back to search problems