Educational Codeforces Round 43 (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
976 Educational Codeforces Round 43 (Rated for Div. 2) FINISHED False 7200 212426424 April 30, 2018, 2:40 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 5772 ) B Lara Croft and the New Game PROGRAMMING implementation math 1300

B"You might have heard about the next game in Lara Croft series coming out this year. You also might have watched its trailer. Though you definitely missed the main idea about its plot, so let me lift the veil of secrecy. Lara is going to explore yet another dangerous dungeon. Game designers decided to use good old 2D environment. The dungeon can be represented as a rectangle matrix of n rows and m columns. Cell (x, xe2 x80 x89y) is the cell in the x-th row in the y-th column. Lara can move between the neighbouring by side cells in all four directions. Moreover, she has even chosen the path for herself to avoid all the traps. She enters the dungeon in cell (1, xe2 x80 x891), that is top left corner of the matrix. Then she goes down all the way to cell (n, xe2 x80 x891) -- the bottom left corner. Then she starts moving in the snake fashion -- all the way to the right, one cell up, then to the left to the cell in 2-nd column, one cell up. She moves until she runs out of non-visited cells. n and m given are such that she always end up in cell (1, xe2 x80 x892). Lara has already moved to a neighbouring cell k times. Can you determine her current position? The only line contains three integers n, m and k (2 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89n, xe2 x80 x89m xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89109, n is always even, 0 xe2 x80 x89 xe2 x89 xa4 xe2 x80 x89k xe2 x80 x89< xe2 x80 x89n xc2 xb7m). Note that k doesn't fit into 32-bit integer type! Print the cell (the row and the column where the cell is situated) where Lara ends up after she moves k times. Here is her path on matrix 4 by 3: "...

Tutorials

59195

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
38085552 agibson B May 10, 2018, 5:40 a.m. OK D TESTS 84 30 4710400 1300
38643576 rr_ B May 26, 2018, 9:25 p.m. OK D TESTS 84 31 0 1300
37787683 ruban B May 1, 2018, 4:30 a.m. OK Delphi TESTS 84 31 3993600 1300
37767250 _Sven_ B April 30, 2018, 3:55 p.m. OK FPC TESTS 84 31 3072000 1300
37796554 Frankkingbluesea B May 1, 2018, 11:21 a.m. OK FPC TESTS 84 31 3072000 1300
37899575 rabbitcxk B May 5, 2018, 7:58 a.m. OK FPC TESTS 84 31 3072000 1300
37783835 TheWildPointer B April 30, 2018, 11:31 p.m. OK FPC TESTS 84 31 3072000 1300
41145659 chaorenhaha B Aug. 3, 2018, 6:26 a.m. OK FPC TESTS 84 46 0 1300
38974560 jayantasadhu4557 B June 5, 2018, 4:51 p.m. OK GNU C TESTS 84 30 3379200 1300
37800714 whoever B May 1, 2018, 1:59 p.m. OK GNU C TESTS 84 30 3379200 1300
37770429 daandaandaa101 B April 30, 2018, 4:14 p.m. OK GNU C TESTS 84 30 3379200 1300
39952929 david369 B July 4, 2018, 11:23 a.m. OK GNU C TESTS 84 31 0 1300
38207750 anirudhbansal B May 14, 2018, 7:02 a.m. OK GNU C TESTS 84 31 3379200 1300
38088618 2017317210233 B May 10, 2018, 10:22 a.m. OK GNU C TESTS 84 31 3379200 1300
37888315 Dark_Eyes B May 4, 2018, 5:04 p.m. OK GNU C TESTS 84 31 3379200 1300
37861739 ambitionly B May 3, 2018, 12:16 p.m. OK GNU C TESTS 84 31 3379200 1300
37800654 tongzichen B May 1, 2018, 1:56 p.m. OK GNU C TESTS 84 31 3379200 1300
37800636 I_Love_U_Sohan B May 1, 2018, 1:55 p.m. OK GNU C TESTS 84 31 3379200 1300
37900649 vjudge3 B May 5, 2018, 8:46 a.m. OK GNU C++ TESTS 84 15 3379200 1300
37768353 menavlikar.rutvij B April 30, 2018, 4:01 p.m. OK GNU C++ TESTS 84 15 3481600 1300
38115067 vjudge2 B May 11, 2018, 1:10 p.m. OK GNU C++ TESTS 84 15 3584000 1300
38207457 luogu_bot5 B May 14, 2018, 6:43 a.m. OK GNU C++ TESTS 84 15 7372800 1300
38538285 vjudge3 B May 22, 2018, 2:16 p.m. OK GNU C++ TESTS 84 30 0 1300
39225246 cruzjorgesalazar B June 13, 2018, 7:28 p.m. OK GNU C++ TESTS 84 30 0 1300
38649271 KatherineLOVER B May 27, 2018, 6:54 a.m. OK GNU C++ TESTS 84 30 0 1300
38386902 issac923 B May 18, 2018, 2:41 a.m. OK GNU C++ TESTS 84 30 0 1300
38558392 _Jeba B May 23, 2018, 10:22 a.m. OK GNU C++ TESTS 84 30 307200 1300
38190894 vjudge1 B May 13, 2018, 12:47 p.m. OK GNU C++ TESTS 84 30 3379200 1300
37840528 vjudge3 B May 2, 2018, 12:52 p.m. OK GNU C11 TESTS 84 30 3379200 1300
37770556 UESTC3684 B April 30, 2018, 4:14 p.m. OK GNU C11 TESTS 84 30 3379200 1300
53109801 kaiboy B April 22, 2019, 12:45 a.m. OK GNU C11 TESTS 84 31 0 1300
37792709 falcon_9 B May 1, 2018, 8:25 a.m. OK GNU C11 TESTS 84 31 3379200 1300
38192190 vjudge4 B May 13, 2018, 1:32 p.m. OK GNU C11 TESTS 84 31 3379200 1300
37761847 Akarin_kawaii B April 30, 2018, 3:25 p.m. OK GNU C11 TESTS 84 31 3379200 1300
37764782 A.Freeman B April 30, 2018, 3:41 p.m. OK GNU C11 TESTS 84 31 3379200 1300
37765509 Virtualleader B April 30, 2018, 3:44 p.m. OK GNU C11 TESTS 84 31 3379200 1300
38318721 vjudge4 B May 16, 2018, 11:27 a.m. OK GNU C11 TESTS 84 31 3584000 1300
37795197 Gnest_Imp B May 1, 2018, 10:29 a.m. OK GNU C11 TESTS 84 858 3379200 1300
38081282 afohtim B May 9, 2018, 9:26 p.m. OK GNU C++11 TESTS 84 15 3481600 1300
39217698 cbdavides B June 13, 2018, 1:26 p.m. OK GNU C++11 TESTS 84 30 0 1300
38500816 Ivon_ B May 21, 2018, 3:50 p.m. OK GNU C++11 TESTS 84 30 0 1300
38710831 bary B May 29, 2018, 6:28 a.m. OK GNU C++11 TESTS 84 30 0 1300
39033243 sanchezIII B June 8, 2018, 12:10 a.m. OK GNU C++11 TESTS 84 30 0 1300
38397278 dobito6 B May 18, 2018, 10:02 a.m. OK GNU C++11 TESTS 84 30 307200 1300
38424009 vrohak B May 19, 2018, 8:49 a.m. OK GNU C++11 TESTS 84 30 307200 1300
37861657 binsjl B May 3, 2018, 12:13 p.m. OK GNU C++11 TESTS 84 30 3379200 1300
37763945 johnson10024 B April 30, 2018, 3:36 p.m. OK GNU C++11 TESTS 84 30 3379200 1300
37787684 0714_Dillonh B May 1, 2018, 4:30 a.m. OK GNU C++11 TESTS 84 30 3379200 1300
39595650 vsriram1012 B June 24, 2018, 8:39 a.m. OK GNU C++14 TESTS 84 15 0 1300
39351924 SJ_1397 B June 18, 2018, 9:20 a.m. OK GNU C++14 TESTS 84 15 0 1300
39068661 callistustan B June 9, 2018, 12:02 p.m. OK GNU C++14 TESTS 84 15 0 1300
38381186 codefresher B May 17, 2018, 8:03 p.m. OK GNU C++14 TESTS 84 15 0 1300
38432721 coder_1998 B May 19, 2018, 1:47 p.m. OK GNU C++14 TESTS 84 15 307200 1300
38462062 Passioncoder B May 20, 2018, 2:08 p.m. OK GNU C++14 TESTS 84 15 307200 1300
38440318 tusg25 B May 19, 2018, 6:35 p.m. OK GNU C++14 TESTS 84 15 307200 1300
37855690 kenchuashvili14 B May 3, 2018, 7:23 a.m. OK GNU C++14 TESTS 84 15 3379200 1300
38323437 RedNova B May 16, 2018, 1:35 p.m. OK GNU C++14 TESTS 84 15 3379200 1300
38052882 anurag708 B May 8, 2018, 7:09 p.m. OK GNU C++14 TESTS 84 15 3379200 1300
38581231 Antoine B May 24, 2018, 8:59 a.m. OK GNU C++17 TESTS 84 15 0 1300
38477356 XORier B May 21, 2018, 8:12 a.m. OK GNU C++17 TESTS 84 15 307200 1300
37894928 Memory_qianxiao B May 5, 2018, 3:11 a.m. OK GNU C++17 TESTS 84 15 3379200 1300
37892631 Intolerable B May 4, 2018, 10:25 p.m. OK GNU C++17 TESTS 84 15 3379200 1300
37892141 Tirondzo B May 4, 2018, 9:36 p.m. OK GNU C++17 TESTS 84 15 3379200 1300
37788492 TuGSGeReL B May 1, 2018, 5:14 a.m. OK GNU C++17 TESTS 84 15 3379200 1300
37787490 Denisov B May 1, 2018, 4:16 a.m. OK GNU C++17 TESTS 84 15 3379200 1300
37777110 maksas B April 30, 2018, 5:07 p.m. OK GNU C++17 TESTS 84 15 3379200 1300
37923440 niki.c2014 B May 6, 2018, 8:29 a.m. OK GNU C++17 TESTS 84 15 3379200 1300
38145623 ZloyHR B May 12, 2018, 6:04 p.m. OK GNU C++17 TESTS 84 15 3379200 1300
38073096 LALALALLALALLA B May 9, 2018, 1:39 p.m. OK GNU C++17 Diagnostics TESTS 84 998 99635200 1300
37854438 D_XF B May 3, 2018, 5:57 a.m. OK GNU C++17 Diagnostics TESTS 84 1029 99430400 1300
37974079 ongvuacon B May 6, 2018, 4:43 p.m. OK GNU C++17 Diagnostics TESTS 84 1029 99635200 1300
37781777 hadlotoil B April 30, 2018, 8:38 p.m. OK GNU C++17 Diagnostics TESTS 84 1060 99635200 1300
37990279 RazvanAlex B May 7, 2018, 9:48 a.m. OK GNU C++17 Diagnostics TESTS 84 1092 118067200 1300
38334398 mb24dev B May 16, 2018, 10:36 p.m. OK Go TESTS 84 31 24268800 1300
37762065 Lost_dog B April 30, 2018, 3:26 p.m. OK Haskell TESTS 84 15 44851200 1300
38354514 rareone0602 B May 17, 2018, 3:54 p.m. OK Haskell TESTS 84 30 102400 1300
37761115 nieru B April 30, 2018, 3:22 p.m. OK Haskell TESTS 84 30 44851200 1300
39435649 ayushchaurasia2879 B June 20, 2018, 12:24 p.m. OK Java 8 TESTS 84 124 0 1300
66658522 fundamentals B Dec. 12, 2019, 2:29 a.m. OK Java 8 TESTS 84 124 0 1300
55510222 ragpatel8742 B June 12, 2019, 9:28 p.m. OK Java 8 TESTS 84 124 0 1300
46623695 onishgarg101 B Dec. 4, 2018, 7:20 p.m. OK Java 8 TESTS 84 124 0 1300
41669552 AQT B Aug. 17, 2018, 3:36 a.m. OK Java 8 TESTS 84 124 0 1300
39527903 Hanan_1995 B June 22, 2018, 9 p.m. OK Java 8 TESTS 84 124 0 1300
39194105 abhinav_b B June 12, 2018, 2:20 p.m. OK Java 8 TESTS 84 124 0 1300
38697084 dipankar12 B May 28, 2018, 2:36 p.m. OK Java 8 TESTS 84 124 0 1300
38633715 amolpratap007 B May 26, 2018, 12:38 p.m. OK Java 8 TESTS 84 124 0 1300
38141769 baobab B May 12, 2018, 2:56 p.m. OK Java 8 TESTS 84 124 20684800 1300
39087557 0442A403 B June 10, 2018, 8:53 a.m. OK Kotlin TESTS 84 124 0 1300
37857795 fastpopo B May 3, 2018, 9:20 a.m. OK Mono C# TESTS 84 31 7987200 1300
37764789 og.kostya B April 30, 2018, 3:41 p.m. OK Mono C# TESTS 84 31 7987200 1300
38568373 Roccco B May 23, 2018, 5:03 p.m. OK Mono C# TESTS 84 46 0 1300
37925403 giorgi_t B May 6, 2018, 9:57 a.m. OK Mono C# TESTS 84 46 7987200 1300
37761553 BIT B April 30, 2018, 3:24 p.m. OK Mono C# TESTS 84 46 7987200 1300
37761107 batraz B April 30, 2018, 3:22 p.m. OK Mono C# TESTS 84 46 7987200 1300
38132768 zazak B May 12, 2018, 8:33 a.m. OK Mono C# TESTS 84 46 7987200 1300
38109262 vjudge3 B May 11, 2018, 8:49 a.m. OK Mono C# TESTS 84 46 7987200 1300
38109243 ys1468362286 B May 11, 2018, 8:48 a.m. OK Mono C# TESTS 84 46 7987200 1300
37860760 Zaczero B May 3, 2018, 11:45 a.m. OK Mono C# TESTS 84 46 11571200 1300
37779555 Volpe B April 30, 2018, 6:34 p.m. OK MS C++ TESTS 84 30 3481600 1300
37765763 GaryDove B April 30, 2018, 3:46 p.m. OK MS C++ TESTS 84 30 3481600 1300
37763361 Ivan_Bondarev B April 30, 2018, 3:33 p.m. OK MS C++ TESTS 84 30 3481600 1300
37930410 iva_kam B May 6, 2018, 1:35 p.m. OK MS C++ TESTS 84 30 3481600 1300
38115976 vjudge3 B May 11, 2018, 1:50 p.m. OK MS C++ TESTS 84 30 3788800 1300
37766453 HPUSDP B April 30, 2018, 3:50 p.m. OK MS C++ TESTS 84 30 3788800 1300
68446717 vjudge4 B Jan. 9, 2020, 12:58 p.m. OK MS C++ TESTS 84 31 0 1300
68964825 vjudge2 B Jan. 17, 2020, 4:07 a.m. OK MS C++ TESTS 84 31 0 1300
68763077 vjudge4 B Jan. 14, 2020, 8:54 a.m. OK MS C++ TESTS 84 31 0 1300
68440676 vjudge3 B Jan. 9, 2020, 10:49 a.m. OK MS C++ TESTS 84 31 0 1300
57826966 System_Y B July 27, 2019, 3:47 a.m. OK MS C++ 2017 TESTS 84 31 0 1300
59398680 V4V B Aug. 24, 2019, 11:18 a.m. OK MS C++ 2017 TESTS 84 31 0 1300
59703567 Laaahu_ B Aug. 30, 2019, 11:42 a.m. OK MS C++ 2017 TESTS 84 31 0 1300
52756441 noteezy B April 14, 2019, 5:17 p.m. OK MS C++ 2017 TESTS 84 31 0 1300
57004838 vjudge3 B July 14, 2019, 6:08 a.m. OK MS C++ 2017 TESTS 84 31 0 1300
68444196 vjudge4 B Jan. 9, 2020, 12:04 p.m. OK MS C++ 2017 TESTS 84 31 307200 1300
63076282 Mad112233 B Oct. 21, 2019, 1:48 p.m. OK MS C++ 2017 TESTS 84 46 0 1300
68639207 vjudge5 B Jan. 12, 2020, 6:58 a.m. OK MS C++ 2017 TESTS 84 46 0 1300
61059941 Still_Theory B Sept. 22, 2019, 9:12 a.m. OK MS C++ 2017 TESTS 84 46 0 1300
68591303 vjudge2 B Jan. 11, 2020, 12:44 p.m. OK MS C++ 2017 TESTS 84 46 307200 1300
38464063 TheDolphin B May 20, 2018, 3:40 p.m. OK PascalABC.NET TESTS 84 46 0 1300
37764569 PAG B April 30, 2018, 3:39 p.m. OK PascalABC.NET TESTS 84 46 13209600 1300
38987601 Kemal.A B June 6, 2018, 7:58 a.m. OK PascalABC.NET TESTS 84 62 102400 1300
57823348 vjudge1 B July 27, 2019, 1:21 a.m. OK PascalABC.NET TESTS 84 327 102400 1300
39187161 mayakin B June 12, 2018, 9:51 a.m. OK PHP TESTS 84 46 409600 1300
37779894 inishchith. B April 30, 2018, 6:50 p.m. OK PyPy 2 TESTS 84 93 22835200 1300
37768682 WyattWismer B April 30, 2018, 4:03 p.m. OK PyPy 2 TESTS 84 93 22835200 1300
38813642 frmsaul B May 31, 2018, 8:54 p.m. OK PyPy 2 TESTS 84 93 22937600 1300
54829347 kaif_7 B May 30, 2019, 8:11 a.m. OK PyPy 2 TESTS 84 124 0 1300
48027589 vjudge4 B Jan. 6, 2019, 10:07 a.m. OK PyPy 2 TESTS 84 124 0 1300
56290753 vjudge4 B June 30, 2019, 12:30 a.m. OK PyPy 2 TESTS 84 155 0 1300
37834358 fusheng1meng B May 2, 2018, 8:33 a.m. OK PyPy 2 TESTS 84 202 22835200 1300
37858087 freedom_dr B May 3, 2018, 9:36 a.m. OK PyPy 3 TESTS 84 93 21401600 1300
37865845 yerlandinata B May 3, 2018, 3 p.m. OK PyPy 3 TESTS 84 108 21401600 1300
37846451 artemtimofeev B May 2, 2018, 5:29 p.m. OK PyPy 3 TESTS 84 109 21401600 1300
37770027 Naoki_M B April 30, 2018, 4:11 p.m. OK PyPy 3 TESTS 84 109 21401600 1300
37765824 MartiBook B April 30, 2018, 3:46 p.m. OK PyPy 3 TESTS 84 109 21401600 1300
39056907 stas_sl B June 9, 2018, 12:28 a.m. OK PyPy 3 TESTS 84 124 0 1300
54745648 Aidos B May 28, 2019, 10:25 a.m. OK PyPy 3 TESTS 84 140 0 1300
47956242 vjudge4 B Jan. 5, 2019, 6:21 a.m. OK PyPy 3 TESTS 84 140 0 1300
55987313 LanaDelRey B June 24, 2019, 5:06 a.m. OK PyPy 3 TESTS 84 140 102400 1300
37856875 freedom_dr B May 3, 2018, 8:32 a.m. OK PyPy 3 TESTS 84 140 21401600 1300
38592598 PBatch B May 24, 2018, 4:54 p.m. OK Python 2 TESTS 84 108 0 1300
38789428 HTahboub B May 31, 2018, 4 a.m. OK Python 2 TESTS 84 108 6041600 1300
37780472 nealzane B April 30, 2018, 7:19 p.m. OK Python 2 TESTS 84 108 6041600 1300
37878968 tnowakow B May 4, 2018, 9:21 a.m. OK Python 2 TESTS 84 109 6041600 1300
37852081 Ehzyo B May 3, 2018, 2:38 a.m. OK Python 2 TESTS 84 109 6041600 1300
37761350 fourteenflames B April 30, 2018, 3:23 p.m. OK Python 2 TESTS 84 109 6041600 1300
37787509 dan_ B May 1, 2018, 4:18 a.m. OK Python 2 TESTS 84 124 6041600 1300
57943679 ssk497 B July 29, 2019, 1:29 p.m. OK Python 2 TESTS 84 171 0 1300
39960737 biltharesatyendra B July 4, 2018, 4:02 p.m. OK Python 2 TESTS 84 171 0 1300
38011775 atharva456 B May 8, 2018, 5:08 a.m. OK Python 3 TESTS 84 78 7065600 1300
37927808 ravi.kaushal97 B May 6, 2018, 11:52 a.m. OK Python 3 TESTS 84 78 7065600 1300
37796626 Spelvin B May 1, 2018, 11:24 a.m. OK Python 3 TESTS 84 78 7065600 1300
38023293 dizelgerda B May 8, 2018, 2:27 p.m. OK Python 3 TESTS 84 78 7372800 1300
37880116 bigfoot B May 4, 2018, 10:27 a.m. OK Python 3 TESTS 84 78 7782400 1300
37912755 Qumeric B May 5, 2018, 6:22 p.m. OK Python 3 TESTS 84 92 7065600 1300
37789872 nadavishe B May 1, 2018, 6:20 a.m. OK Python 3 TESTS 84 92 7065600 1300
38115515 lekha617 B May 11, 2018, 1:28 p.m. OK Python 3 TESTS 84 92 7372800 1300
38612392 Incognito B May 25, 2018, 2:52 p.m. OK Python 3 TESTS 84 93 0 1300
38475750 hualinster B May 21, 2018, 6:45 a.m. OK Python 3 TESTS 84 93 0 1300
37912101 Sontan B May 5, 2018, 5:29 p.m. OK Ruby TESTS 84 62 6451200 1300
37912019 Sontan B May 5, 2018, 5:22 p.m. OK Ruby TESTS 84 62 6451200 1300
37761848 ia7ck B April 30, 2018, 3:25 p.m. OK Ruby TESTS 84 62 6451200 1300
37912069 Sontan B May 5, 2018, 5:26 p.m. OK Ruby TESTS 84 62 6656000 1300
37859702 kichi B May 3, 2018, 11:03 a.m. OK Rust TESTS 84 31 2867200 1300
37795159 Leonardone B May 1, 2018, 10:27 a.m. OK Rust TESTS 84 31 2867200 1300

remove filters

Back to search problems