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 |
---|---|---|---|---|---|---|
1316 | CodeCraft-20 (Div. 2) | FINISHED | False | 7200 | 148490699 | March 4, 2020, 2:35 p.m. |
Solved$ |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
---|---|---|---|---|---|---|
( 3399 ) | D | Nash Matrix | PROGRAMMING | constructive algorithms dfs and similar graphs implementation | 2000 |
B"Nash designed an interesting yet simple board game where a player is simply required to follow instructions written on the cell where the player currently stands. This board game is played on the n x n board. Rows and columns of this board are numbered from 1 to n . The cell on the intersection of the r -th row and c -th column is denoted by (r, c) . Some cells on the board are called blocked zones. On each cell of the board, there is written one of the following 5 characters -- U , D , L , R or X -- instructions for the player. Suppose that the current cell is (r, c) . If the character is R , the player should move to the right cell (r, c+1) , for L the player should move to the left cell (r, c-1) , for U the player should move to the top cell (r-1, c) , for D the player should move to the bottom cell (r+1, c) . Finally, if the character in the cell is X , then this cell is the blocked zone. The player should remain in this cell (the game for him isn't very interesting from now on). It is guaranteed that the characters are written in a way that the player will never have to step outside of the board, no matter at which cell he starts. As a player starts from a cell, he moves according to the character in the current cell. The player keeps moving until he lands in a blocked zone. It is also possible that the player will keep moving infinitely long. For every of the n^2 cells of the board Alice, your friend, wants to know, how will the game go, if the player starts in this cell. For each starting cell of the board, she writes down the cell that the player stops at, or that the player never stops at all. She gives you the information she has written: for each cell (r, c) she wrote: It might be possible that Alice is trying to fool you and there's no possible grid that satisfies all the constraints Alice gave you. For t"... |
Codecraft-20 (Div.2) Editorial |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
---|---|---|---|---|---|---|---|---|---|---|---|
72448442 | iica | D | March 4, 2020, 3:51 p.m. | OK | D | TESTS | 134 | 1091 | 161177600 | 2000 | |
72454520 | TheHedgehog | D | March 4, 2020, 4:14 p.m. | OK | Delphi | TESTS | 134 | 374 | 63488000 | 2000 | |
72459343 | rainboy | D | March 4, 2020, 4:30 p.m. | OK | GNU C11 | TESTS | 134 | 311 | 69017600 | 2000 | |
72455717 | pengin_2000 | D | March 4, 2020, 4:18 p.m. | OK | GNU C11 | TESTS | 134 | 327 | 25088000 | 2000 | |
72582208 | EncodeTalker | D | March 6, 2020, 2:58 p.m. | OK | GNU C++11 | TESTS | 134 | 78 | 11059200 | 2000 | |
72445858 | _zay | D | March 4, 2020, 3:41 p.m. | OK | GNU C++11 | TESTS | 134 | 93 | 10137600 | 2000 | |
72548614 | _zay | D | March 6, 2020, 3:30 a.m. | OK | GNU C++11 | TESTS | 134 | 93 | 10137600 | 2000 | |
72451231 | Asd_Okuu | D | March 4, 2020, 4:01 p.m. | OK | GNU C++11 | TESTS | 134 | 93 | 13312000 | 2000 | |
72545348 | superbigjuruo | D | March 6, 2020, 1:04 a.m. | OK | GNU C++11 | TESTS | 134 | 93 | 17203200 | 2000 | |
72481502 | Frame233 | D | March 5, 2020, 2:14 a.m. | OK | GNU C++11 | TESTS | 134 | 93 | 26316800 | 2000 | |
72446518 | msuwakow | D | March 4, 2020, 3:44 p.m. | OK | GNU C++11 | TESTS | 134 | 93 | 28364800 | 2000 | |
72454601 | Zambia_Captain | D | March 4, 2020, 4:14 p.m. | OK | GNU C++11 | TESTS | 134 | 93 | 30310400 | 2000 | |
72484967 | s_r_f | D | March 5, 2020, 4:07 a.m. | OK | GNU C++11 | TESTS | 134 | 93 | 35020800 | 2000 | |
72484718 | Qza_AC | D | March 5, 2020, 3:59 a.m. | OK | GNU C++11 | TESTS | 134 | 93 | 72908800 | 2000 | |
72467976 | tokitsukaze | D | March 4, 2020, 7:22 p.m. | OK | GNU C++14 | TESTS | 134 | 109 | 77414400 | 2000 | |
72445982 | QwertyPi | D | March 4, 2020, 3:42 p.m. | OK | GNU C++14 | TESTS | 134 | 202 | 216985600 | 2000 | |
72442572 | hodduc | D | March 4, 2020, 3:29 p.m. | OK | GNU C++14 | TESTS | 134 | 280 | 17100800 | 2000 | |
72439352 | semteo04 | D | March 4, 2020, 3:18 p.m. | OK | GNU C++14 | TESTS | 134 | 327 | 64307200 | 2000 | |
72466770 | piyushmittal25 | D | March 4, 2020, 7:08 p.m. | OK | GNU C++14 | TESTS | 134 | 342 | 18432000 | 2000 | |
72477851 | Devil | D | March 4, 2020, 11:50 p.m. | OK | GNU C++14 | TESTS | 134 | 342 | 18636800 | 2000 | |
72445388 | Hyperbolic | D | March 4, 2020, 3:40 p.m. | OK | GNU C++14 | TESTS | 134 | 342 | 64307200 | 2000 | |
72477848 | SpringsVGC | D | March 4, 2020, 11:50 p.m. | OK | GNU C++14 | TESTS | 134 | 342 | 93081600 | 2000 | |
72467400 | terrified_solver | D | March 4, 2020, 7:15 p.m. | OK | GNU C++14 | TESTS | 134 | 343 | 18227200 | 2000 | |
72547494 | tsingcbx | D | March 6, 2020, 2:48 a.m. | OK | GNU C++14 | TESTS | 134 | 343 | 34611200 | 2000 | |
72436485 | LayCurse | D | March 4, 2020, 3:09 p.m. | OK | GNU C++17 | TESTS | 134 | 108 | 15155200 | 2000 | |
72453661 | Chaigidel | D | March 4, 2020, 4:11 p.m. | OK | GNU C++17 | TESTS | 134 | 108 | 87552000 | 2000 | |
72479563 | _andyli | D | March 5, 2020, 1:03 a.m. | OK | GNU C++17 | TESTS | 134 | 124 | 20992000 | 2000 | |
72443208 | wnsh | D | March 4, 2020, 3:32 p.m. | OK | GNU C++17 | TESTS | 134 | 124 | 99430400 | 2000 | |
72453928 | ikun142857 | D | March 4, 2020, 4:12 p.m. | OK | GNU C++17 | TESTS | 134 | 139 | 36352000 | 2000 | |
72435391 | natsugiri | D | March 4, 2020, 3:06 p.m. | OK | GNU C++17 | TESTS | 134 | 296 | 15564800 | 2000 | |
72479545 | CQXYM | D | March 5, 2020, 1:02 a.m. | OK | GNU C++17 | TESTS | 134 | 311 | 58060800 | 2000 | |
72484482 | FZF | D | March 5, 2020, 3:51 a.m. | OK | GNU C++17 | TESTS | 134 | 327 | 26316800 | 2000 | |
72560714 | jiangly | D | March 6, 2020, 8:39 a.m. | OK | GNU C++17 | TESTS | 134 | 343 | 18636800 | 2000 | |
72435991 | tempura0224 | D | March 4, 2020, 3:07 p.m. | OK | GNU C++17 | TESTS | 134 | 358 | 18329600 | 2000 | |
72469112 | Jughead | D | March 4, 2020, 7:40 p.m. | OK | Go | TESTS | 134 | 280 | 23244800 | 2000 | |
72468732 | Jughead | D | March 4, 2020, 7:33 p.m. | OK | Go | TESTS | 134 | 280 | 23347200 | 2000 | |
72555722 | synapse | D | March 6, 2020, 6:40 a.m. | OK | Go | TESTS | 134 | 358 | 257843200 | 2000 | |
72555385 | synapse | D | March 6, 2020, 6:33 a.m. | OK | Go | TESTS | 134 | 1013 | 259993600 | 2000 | |
72555404 | synapse | D | March 6, 2020, 6:33 a.m. | OK | Go | TESTS | 134 | 1045 | 259993600 | 2000 | |
72442171 | uwi | D | March 4, 2020, 3:28 p.m. | OK | Java 11 | TESTS | 134 | 390 | 48435200 | 2000 | |
72489172 | adamjamil | D | March 5, 2020, 6 a.m. | OK | Java 11 | TESTS | 134 | 468 | 18227200 | 2000 | |
72442166 | Hemose | D | March 4, 2020, 3:28 p.m. | OK | Java 11 | TESTS | 134 | 576 | 99225600 | 2000 | |
72468830 | potatmen | D | March 4, 2020, 7:35 p.m. | OK | Java 11 | TESTS | 134 | 702 | 53862400 | 2000 | |
72494268 | ZeyadKhattab | D | March 5, 2020, 7:52 a.m. | OK | Java 11 | TESTS | 134 | 733 | 132710400 | 2000 | |
72468063 | tejram | D | March 4, 2020, 7:23 p.m. | OK | Java 8 | TESTS | 134 | 249 | 109772800 | 2000 | |
72529494 | MubtasimShahriar | D | March 5, 2020, 5:24 p.m. | OK | Java 8 | TESTS | 134 | 295 | 53043200 | 2000 | |
72467776 | KharYusuf | D | March 4, 2020, 7:20 p.m. | OK | Java 8 | TESTS | 134 | 343 | 102297600 | 2000 | |
72523122 | uju | D | March 5, 2020, 3:36 p.m. | OK | Java 8 | TESTS | 134 | 374 | 61952000 | 2000 | |
72566599 | bluesky111 | D | March 6, 2020, 10:43 a.m. | OK | Java 8 | TESTS | 134 | 389 | 38400000 | 2000 | |
72445908 | 1u_my_light | D | March 4, 2020, 3:41 p.m. | OK | Java 8 | TESTS | 134 | 436 | 13516800 | 2000 | |
72457711 | procrastinate7 | D | March 4, 2020, 4:25 p.m. | OK | Java 8 | TESTS | 134 | 436 | 68812800 | 2000 | |
72441449 | cwise | D | March 4, 2020, 3:25 p.m. | OK | Java 8 | TESTS | 134 | 436 | 186265600 | 2000 | |
72457085 | YahiaSherif | D | March 4, 2020, 4:23 p.m. | OK | Java 8 | TESTS | 134 | 451 | 68812800 | 2000 | |
72453122 | MessiahJK | D | March 4, 2020, 4:09 p.m. | OK | Java 8 | TESTS | 134 | 467 | 102092800 | 2000 | |
72494105 | Spheniscine | D | March 5, 2020, 7:49 a.m. | OK | Kotlin | TESTS | 134 | 482 | 34099200 | 2000 | |
72494600 | Spheniscine | D | March 5, 2020, 8 a.m. | OK | Kotlin | TESTS | 134 | 499 | 34099200 | 2000 | |
72446287 | SlavaG | D | March 4, 2020, 3:43 p.m. | OK | Kotlin | TESTS | 134 | 795 | 112640000 | 2000 | |
72499388 | SlavaG | D | March 5, 2020, 9:26 a.m. | OK | Kotlin | TESTS | 134 | 920 | 120320000 | 2000 | |
72465651 | hibatibati | D | March 4, 2020, 6:59 p.m. | OK | Mono C# | TESTS | 134 | 545 | 30105600 | 2000 | |
72447281 | r57shell | D | March 4, 2020, 3:46 p.m. | OK | MS C++ | TESTS | 134 | 373 | 13107200 | 2000 | |
72443936 | youx | D | March 4, 2020, 3:34 p.m. | OK | MS C++ 2017 | TESTS | 134 | 529 | 23347200 | 2000 | |
72459898 | gjdms611 | D | March 4, 2020, 4:32 p.m. | OK | MS C++ 2017 | TESTS | 134 | 530 | 23347200 | 2000 | |
72486665 | LeeLdler | D | March 5, 2020, 4:57 a.m. | OK | MS C++ 2017 | TESTS | 134 | 561 | 12288000 | 2000 | |
72436581 | pichulia | D | March 4, 2020, 3:09 p.m. | OK | MS C++ 2017 | TESTS | 134 | 592 | 20275200 | 2000 | |
72466023 | CrashMaster | D | March 4, 2020, 7:01 p.m. | OK | MS C++ 2017 | TESTS | 134 | 733 | 10854400 | 2000 | |
72486526 | Prokopiy | D | March 5, 2020, 4:53 a.m. | OK | MS C++ 2017 | TESTS | 134 | 1200 | 24473600 | 2000 | |
72489763 | suun | D | March 5, 2020, 6:13 a.m. | OK | MS C++ 2017 | TESTS | 134 | 1200 | 34713600 | 2000 | |
72452443 | BpeMeHHa91_TryDHocTb | D | March 4, 2020, 4:06 p.m. | OK | MS C++ 2017 | TESTS | 134 | 1232 | 23040000 | 2000 | |
72489808 | suun | D | March 5, 2020, 6:14 a.m. | OK | MS C++ 2017 | TESTS | 134 | 1232 | 34713600 | 2000 | |
72466946 | openingsound | D | March 4, 2020, 7:10 p.m. | OK | MS C++ 2017 | TESTS | 134 | 1263 | 53248000 | 2000 | |
72457032 | deskata1997 | D | March 4, 2020, 4:23 p.m. | OK | Node.js | TESTS | 134 | 1403 | 78950400 | 2000 | |
72450344 | astrom.lars | D | March 4, 2020, 3:58 p.m. | OK | PyPy 2 | TESTS | 134 | 951 | 66969600 | 2000 | |
72451772 | kabeer27 | D | March 4, 2020, 4:03 p.m. | OK | PyPy 2 | TESTS | 134 | 1372 | 65331200 | 2000 | |
72485362 | satyamcse | D | March 5, 2020, 4:18 a.m. | OK | PyPy 2 | TESTS | 134 | 1856 | 101478400 | 2000 | |
72475566 | wolffd | D | March 4, 2020, 10:16 p.m. | OK | PyPy 2 | TESTS | 134 | 1996 | 88985600 | 2000 | |
72536743 | aberent | D | March 5, 2020, 7:45 p.m. | OK | PyPy 3 | TESTS | 134 | 826 | 41984000 | 2000 | |
72482179 | Coki628 | D | March 5, 2020, 2:38 a.m. | OK | PyPy 3 | TESTS | 134 | 1372 | 60313600 | 2000 | |
72480544 | Coki628 | D | March 5, 2020, 1:40 a.m. | OK | PyPy 3 | TESTS | 134 | 1403 | 59801600 | 2000 | |
72457174 | anagohirame | D | March 4, 2020, 4:23 p.m. | OK | PyPy 3 | TESTS | 134 | 1434 | 56320000 | 2000 | |
72453776 | neterukun | D | March 4, 2020, 4:11 p.m. | OK | PyPy 3 | TESTS | 134 | 1450 | 41779200 | 2000 | |
72518571 | TempuX | D | March 5, 2020, 2:24 p.m. | OK | PyPy 3 | TESTS | 134 | 1543 | 43110400 | 2000 | |
72536251 | notbot | D | March 5, 2020, 7:34 p.m. | OK | PyPy 3 | TESTS | 134 | 1543 | 71372800 | 2000 | |
72519262 | TempuX | D | March 5, 2020, 2:34 p.m. | OK | PyPy 3 | TESTS | 134 | 1544 | 58675200 | 2000 | |
72517968 | TempuX | D | March 5, 2020, 2:15 p.m. | OK | PyPy 3 | TESTS | 134 | 1559 | 39731200 | 2000 | |
72537984 | notbot | D | March 5, 2020, 8:14 p.m. | OK | PyPy 3 | TESTS | 134 | 1559 | 69632000 | 2000 | |
72439567 | sansen | D | March 4, 2020, 3:19 p.m. | OK | Rust | TESTS | 134 | 155 | 31232000 | 2000 | |
72500076 | lucifer1004 | D | March 5, 2020, 9:37 a.m. | OK | Rust | TESTS | 134 | 171 | 39116800 | 2000 | |
72499460 | lucifer1004 | D | March 5, 2020, 9:28 a.m. | OK | Rust | TESTS | 134 | 312 | 39116800 | 2000 | |
72498488 | lucifer1004 | D | March 5, 2020, 9:09 a.m. | OK | Rust | TESTS | 134 | 312 | 39116800 | 2000 | |
72504919 | koboshi | D | March 5, 2020, 10:56 a.m. | OK | Rust | TESTS | 134 | 655 | 38707200 | 2000 |
Back to search problems