Codeforces Round 454 (Div. 2, based on Technocup 2018 Elimination Round 4)

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
907 Codeforces Round 454 (Div. 2, based on Technocup 2018 Elimination Round 4) FINISHED False 7200 262454084 Dec. 23, 2017, 2:05 p.m.

Problems

Solved
Index
Name
Type
Tags
Community Tag
Rating
( 4225 ) B Tic-Tac-Toe PROGRAMMING implementation 1400

Two bears are playing tic-tac-toe via mail. It's boring for them to play usual tic-tac-toe game, so they are a playing modified version of this game. Here are its rules. The game is played on the following field. Players are making moves by turns. At first move a player can put his chip in any cell of any small field. For following moves, there are some restrictions: if during last move the opposite player put his chip to cell with coordinates ( x l , y l ) in some small field, the next move should be done in one of the cells of the small field with coordinates ( x l , y l ) . For example, if in the first move a player puts his chip to lower left cell of central field, then the second player on his next move should put his chip into some cell of lower left field (pay attention to the first test case). If there are no free cells in the required field, the player can put his chip to any empty cell on any field. You are given current state of the game and coordinates of cell in which the last move was done. You should find all cells in which the current player can put his chip. A hare works as a postman in the forest, he likes to foul bears. Sometimes he changes the game field a bit, so the current state of the game could be unreachable. However, after his changes the cell where the last move was done is not empty. You don't need to find if the state is unreachable or not, just output possible next moves according to the rules. First 11 lines contains descriptions of table with 9 rows and 9 columns which are divided into 9 small fields by spaces and empty lines. Each small field is described by 9 characters without spaces and empty lines. character " x " (ASCII-code 120) means that the cell is occupied with chip of the first player, character " o " (ASCII-code 111) denotes a field occupied with chip of the second player, character "." (ASCII-code 46) describes empty cell. The line after the table contains two integers x and y ( 1 ≤ x , y ≤ 9 ). They describe

Tutorials

Editorial Codeforces Round 454 (and Technocup 2018 — Elimination Round 4)

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
33565517 nanae1914 B Dec. 23, 2017, 3:41 p.m. OK D TESTS 20 15 2969600 1400
33817175 s1990 B Dec. 30, 2017, 6:03 p.m. OK Delphi TESTS 20 15 2560000 1400
33573000 ruban B Dec. 23, 2017, 5 p.m. OK Delphi TESTS 20 15 2560000 1400
33562085 Slonik B Dec. 23, 2017, 3:24 p.m. OK FPC TESTS 20 15 1638400 1400
33559682 tin_ibig B Dec. 23, 2017, 3:13 p.m. OK FPC TESTS 20 15 1638400 1400
33558849 1353055672 B Dec. 23, 2017, 3:09 p.m. OK FPC TESTS 20 15 1638400 1400
33548481 ImForbiddenToSayILoveYou B Dec. 23, 2017, 2:31 p.m. OK FPC TESTS 20 15 1638400 1400
33569022 rabbitcxk B Dec. 23, 2017, 3:58 p.m. OK FPC TESTS 20 15 1638400 1400
33590164 I_love_Bao_Ngoc B Dec. 24, 2017, 10:12 a.m. OK FPC TESTS 20 15 1638400 1400
33563308 Smilodon_am B Dec. 23, 2017, 3:30 p.m. OK FPC TESTS 20 15 1638400 1400
33863391 LeoPro B Jan. 2, 2018, 12:16 p.m. OK FPC TESTS 20 15 1740800 1400
33554033 Capricornmean B Dec. 23, 2017, 2:49 p.m. OK FPC TESTS 20 15 2662400 1400
45586713 chaorenhaha B Nov. 12, 2018, 9:18 a.m. OK FPC TESTS 20 31 102400 1400
34020117 Cyberologist B Jan. 8, 2018, 3:37 p.m. OK GNU C TESTS 20 15 1843200 1400
34662020 Justicial B Jan. 29, 2018, 1:05 p.m. OK GNU C TESTS 20 15 1843200 1400
34660163 Justicial B Jan. 29, 2018, 11:59 a.m. OK GNU C TESTS 20 15 1843200 1400
34621971 vjudge5 B Jan. 28, 2018, 2:54 a.m. OK GNU C TESTS 20 15 1843200 1400
34019861 keeptrying01 B Jan. 8, 2018, 3:35 p.m. OK GNU C TESTS 20 15 1843200 1400
33900295 TsReaper B Jan. 4, 2018, 10:03 a.m. OK GNU C TESTS 20 15 1843200 1400
33669507 Anonsmd B Dec. 27, 2017, 1:13 p.m. OK GNU C TESTS 20 15 1843200 1400
33668704 Anonsmd B Dec. 27, 2017, 12:34 p.m. OK GNU C TESTS 20 15 1843200 1400
33667818 Anonsmd B Dec. 27, 2017, 11:48 a.m. OK GNU C TESTS 20 15 1843200 1400
33667642 cw.david.yi B Dec. 27, 2017, 11:39 a.m. OK GNU C TESTS 20 15 1843200 1400
38988205 vjudge5 B June 6, 2018, 8:25 a.m. OK GNU C++ TESTS 20 15 0 1400
38987489 vjudge3 B June 6, 2018, 7:53 a.m. OK GNU C++ TESTS 20 15 0 1400
35563192 Hacheylight B Feb. 22, 2018, 2:28 a.m. OK GNU C++ TESTS 20 15 1843200 1400
35411233 pantw B Feb. 17, 2018, 11:41 a.m. OK GNU C++ TESTS 20 15 1843200 1400
34622096 vjudge5 B Jan. 28, 2018, 3:02 a.m. OK GNU C++ TESTS 20 15 1843200 1400
34621561 vjudge2 B Jan. 28, 2018, 2:26 a.m. OK GNU C++ TESTS 20 15 1843200 1400
34621140 vjudge2 B Jan. 28, 2018, 1:58 a.m. OK GNU C++ TESTS 20 15 1843200 1400
33897812 vjudge1 B Jan. 4, 2018, 7:28 a.m. OK GNU C++ TESTS 20 15 1843200 1400
33618740 7shen B Dec. 25, 2017, 2:01 p.m. OK GNU C++ TESTS 20 15 1843200 1400
33613277 johnson10024 B Dec. 25, 2017, 9:47 a.m. OK GNU C++ TESTS 20 15 1843200 1400
33552630 Smurf1 B Dec. 23, 2017, 2:44 p.m. OK GNU C11 TESTS 20 15 1843200 1400
33563072 Akarin_kawaii B Dec. 23, 2017, 3:29 p.m. OK GNU C11 TESTS 20 15 1843200 1400
33577083 alexey.orlov B Dec. 23, 2017, 7:35 p.m. OK GNU C11 TESTS 20 15 1843200 1400
33650998 Zihad_Bd B Dec. 26, 2017, 3:42 p.m. OK GNU C11 TESTS 20 15 1843200 1400
34021859 danidabsh B Jan. 8, 2018, 3:49 p.m. OK GNU C11 TESTS 20 15 1843200 1400
35174536 liv77 B Feb. 12, 2018, 10:09 a.m. OK GNU C11 TESTS 20 15 1843200 1400
33558985 shubham_43 B Dec. 23, 2017, 3:09 p.m. OK GNU C11 TESTS 20 15 1843200 1400
38877452 vjudge2 B June 2, 2018, 7:21 a.m. OK GNU C11 TESTS 20 15 3379200 1400
38877765 vjudge4 B June 2, 2018, 7:31 a.m. OK GNU C11 TESTS 20 15 3379200 1400
38877197 vjudge3 B June 2, 2018, 7:14 a.m. OK GNU C11 TESTS 20 31 3379200 1400
41323802 VinayakaB B Aug. 8, 2018, 3:23 a.m. OK GNU C++11 TESTS 20 15 0 1400
52991778 Ufowoqqqo B April 18, 2019, 11:02 p.m. OK GNU C++11 TESTS 20 15 0 1400
41628993 jebouin B Aug. 15, 2018, 4:36 p.m. OK GNU C++11 TESTS 20 15 0 1400
38397285 chenyeyuan B May 18, 2018, 10:03 a.m. OK GNU C++11 TESTS 20 15 307200 1400
34622161 vjudge4 B Jan. 28, 2018, 3:06 a.m. OK GNU C++11 TESTS 20 15 1843200 1400
36042247 zsnuo B March 7, 2018, 11:43 a.m. OK GNU C++11 TESTS 20 15 1843200 1400
34622193 vjudge5 B Jan. 28, 2018, 3:09 a.m. OK GNU C++11 TESTS 20 15 1843200 1400
34062418 vjudge2 B Jan. 10, 2018, 5:33 a.m. OK GNU C++11 TESTS 20 15 1843200 1400
33820383 Kostin_v B Dec. 30, 2017, 8:38 p.m. OK GNU C++11 TESTS 20 15 1843200 1400
33610372 binsjl B Dec. 25, 2017, 7:03 a.m. OK GNU C++11 TESTS 20 15 1843200 1400
33564942 its_Atrap B Dec. 23, 2017, 3:38 p.m. OK GNU C++14 TESTS 20 0 1945600 1400
59446159 vjudge3 B Aug. 25, 2019, 1:25 p.m. OK GNU C++14 TESTS 20 15 0 1400
57102470 SuhasPai3799 B July 15, 2019, 2:15 p.m. OK GNU C++14 TESTS 20 15 0 1400
42343188 Nightmar B Sept. 1, 2018, 6:46 p.m. OK GNU C++14 TESTS 20 15 0 1400
43006437 hectoradrian_UH B Sept. 17, 2018, 4:09 p.m. OK GNU C++14 TESTS 20 15 0 1400
49964961 999KPlusONE B Feb. 15, 2019, 8:11 p.m. OK GNU C++14 TESTS 20 15 0 1400
50044279 Jrodsc B Feb. 17, 2019, 4:48 a.m. OK GNU C++14 TESTS 20 15 0 1400
52428112 laxman B April 6, 2019, 8:24 p.m. OK GNU C++14 TESTS 20 15 0 1400
56439317 vjudge4 B July 2, 2019, 3:35 p.m. OK GNU C++14 TESTS 20 15 0 1400
56440279 vjudge1 B July 2, 2019, 4 p.m. OK GNU C++14 TESTS 20 15 0 1400
40977227 xiaopengyou B July 30, 2018, 4:05 p.m. OK GNU C++17 TESTS 20 15 0 1400
40505843 fblogy B July 18, 2018, 8:21 a.m. OK GNU C++17 TESTS 20 15 0 1400
62080111 silxi B Oct. 7, 2019, 8:15 p.m. OK GNU C++17 TESTS 20 15 0 1400
69075848 Muskmelon_seed B Jan. 19, 2020, 3:02 a.m. OK GNU C++17 TESTS 20 15 0 1400
58230271 hetp111 B Aug. 3, 2019, 4:28 p.m. OK GNU C++17 TESTS 20 15 0 1400
53774142 Superuzir B May 5, 2019, 7:18 a.m. OK GNU C++17 TESTS 20 15 0 1400
52248037 kakashi007 B April 2, 2019, 8:29 p.m. OK GNU C++17 TESTS 20 15 0 1400
50077614 MaTb3aa B Feb. 17, 2019, 11:53 p.m. OK GNU C++17 TESTS 20 15 0 1400
40978586 zzbone B July 30, 2018, 4:42 p.m. OK GNU C++17 TESTS 20 15 0 1400
49054421 laplace_3 B Jan. 27, 2019, 12:39 p.m. OK GNU C++17 TESTS 20 15 204800 1400
33558667 Patwari26 B Dec. 23, 2017, 3:08 p.m. OK GNU C++17 Diagnostics TESTS 20 795 99225600 1400
33593563 vishaldugyala B Dec. 24, 2017, 12:53 p.m. OK GNU C++17 Diagnostics TESTS 20 795 99225600 1400
33593473 vishaldugyala B Dec. 24, 2017, 12:49 p.m. OK GNU C++17 Diagnostics TESTS 20 810 99225600 1400
33656125 Sylveon B Dec. 26, 2017, 7:16 p.m. OK GNU C++17 Diagnostics TESTS 20 810 99225600 1400
33560624 scbjtu B Dec. 23, 2017, 3:17 p.m. OK GNU C++17 Diagnostics TESTS 20 826 99123200 1400
33669756 Mr.Kutso B Dec. 27, 2017, 1:26 p.m. OK Go TESTS 20 15 22835200 1400
33548568 SonTungMtp B Dec. 23, 2017, 2:31 p.m. OK Go TESTS 20 15 22937600 1400
33553645 risenrigel B Dec. 23, 2017, 2:48 p.m. OK Go TESTS 20 30 24780800 1400
33624286 sl0th B Dec. 25, 2017, 4:32 p.m. OK Haskell TESTS 20 15 44851200 1400
52656505 prituladima B April 12, 2019, 7:12 p.m. OK Java 8 TESTS 20 108 0 1400
52656647 prituladima B April 12, 2019, 7:17 p.m. OK Java 8 TESTS 20 109 0 1400
52656624 prituladima B April 12, 2019, 7:16 p.m. OK Java 8 TESTS 20 109 0 1400
51975517 wadissimo B March 29, 2019, 2:10 p.m. OK Java 8 TESTS 20 109 0 1400
49029035 Gaurav_8 B Jan. 26, 2019, 8:42 p.m. OK Java 8 TESTS 20 109 0 1400
33595842 catforce B Dec. 24, 2017, 2:51 p.m. OK Java 8 TESTS 20 109 20684800 1400
34486276 Golmol B Jan. 23, 2018, 3:03 p.m. OK Java 8 TESTS 20 109 20684800 1400
34341394 VerticesEdge B Jan. 20, 2018, 6:45 a.m. OK Java 8 TESTS 20 109 20684800 1400
33711789 teitoku B Dec. 28, 2017, 1:29 p.m. OK Java 8 TESTS 20 109 20684800 1400
33673794 coderbond007 B Dec. 27, 2017, 4:34 p.m. OK Java 8 TESTS 20 109 20684800 1400
33570600 organizize B Dec. 23, 2017, 4:03 p.m. OK JavaScript TESTS 20 31 5939200 1400
33585738 strawus B Dec. 24, 2017, 6:52 a.m. OK Kotlin TESTS 20 155 21094400 1400
61989360 vitaly_megabyte B Oct. 6, 2019, 2:39 p.m. OK Mono C# TESTS 20 46 102400 1400
33600543 m1_k3 B Dec. 24, 2017, 8:20 p.m. OK MS C# TESTS 20 46 9318400 1400
33619433 ArLion B Dec. 25, 2017, 2:30 p.m. OK MS C# TESTS 20 46 9318400 1400
33832516 og.kostya B Dec. 31, 2017, 1:34 p.m. OK MS C# TESTS 20 46 9420800 1400
33561625 andrei_toader B Dec. 23, 2017, 3:22 p.m. OK MS C# TESTS 20 46 11980800 1400
33546261 Kirundel B Dec. 23, 2017, 2:26 p.m. OK MS C# TESTS 20 62 11673600 1400
39009529 ys1468362286 B June 7, 2018, 5:31 a.m. OK MS C++ TESTS 20 15 0 1400
38434189 rkm0959 B May 19, 2018, 2:46 p.m. OK MS C++ TESTS 20 15 0 1400
34625687 vjudge3 B Jan. 28, 2018, 6:52 a.m. OK MS C++ TESTS 20 15 2048000 1400
34437022 vjudge2 B Jan. 22, 2018, 7:41 a.m. OK MS C++ TESTS 20 15 2048000 1400
34436978 vjudge1 B Jan. 22, 2018, 7:39 a.m. OK MS C++ TESTS 20 15 2048000 1400
33893565 AynaS B Jan. 3, 2018, 9:48 p.m. OK MS C++ TESTS 20 15 2048000 1400
33823476 kingmoshe B Dec. 31, 2017, 1:53 a.m. OK MS C++ TESTS 20 15 2048000 1400
33807628 scorpiowf B Dec. 30, 2017, 11:20 a.m. OK MS C++ TESTS 20 15 2048000 1400
33698730 pfh.hbq B Dec. 28, 2017, 1:34 a.m. OK MS C++ TESTS 20 15 2048000 1400
35617910 Double228 B Feb. 24, 2018, 8:05 a.m. OK MS C++ TESTS 20 15 2048000 1400
64896705 DarisHS B Nov. 14, 2019, 4:55 p.m. OK MS C++ 2017 TESTS 20 30 0 1400
33608545 Avtakhov B Dec. 25, 2017, 4:54 a.m. OK PascalABC.NET TESTS 20 46 16896000 1400
33733717 s_p B Dec. 28, 2017, 3:29 p.m. OK Perl TESTS 20 30 2150400 1400
33829428 mayakin B Dec. 31, 2017, 10:26 a.m. OK PHP TESTS 20 31 6041600 1400
33602507 eugalt B Dec. 24, 2017, 11:36 p.m. OK PyPy 2 TESTS 20 62 21196800 1400
33572896 latsyrc1123 B Dec. 23, 2017, 4:58 p.m. OK PyPy 2 TESTS 20 62 21196800 1400
33561439 varshavp274 B Dec. 23, 2017, 3:21 p.m. OK PyPy 2 TESTS 20 62 21196800 1400
33554155 abhigyank B Dec. 23, 2017, 2:49 p.m. OK PyPy 2 TESTS 20 62 21299200 1400
33599969 nealzane B Dec. 24, 2017, 7:31 p.m. OK PyPy 2 TESTS 20 77 21196800 1400
33629123 sgtlaugh B Dec. 25, 2017, 7:41 p.m. OK PyPy 2 TESTS 20 92 21196800 1400
39755269 frmsaul B June 29, 2018, 12:38 a.m. OK PyPy 2 TESTS 20 109 0 1400
33555554 tushutripathi B Dec. 23, 2017, 2:55 p.m. OK PyPy 2 TESTS 20 171 30003200 1400
35026050 fedor2612 B Feb. 7, 2018, 6:32 p.m. OK PyPy 3 TESTS 20 77 19968000 1400
33582973 StinsonOvO B Dec. 24, 2017, 3:48 a.m. OK PyPy 3 TESTS 20 108 23142400 1400
33555683 nonis B Dec. 23, 2017, 2:55 p.m. OK PyPy 3 TESTS 20 109 23040000 1400
33572297 NOK B Dec. 23, 2017, 4:46 p.m. OK PyPy 3 TESTS 20 109 23142400 1400
33563399 inishchith. B Dec. 23, 2017, 3:31 p.m. OK PyPy 3 TESTS 20 109 23142400 1400
33558486 I_love_Kim_Possible B Dec. 23, 2017, 3:07 p.m. OK PyPy 3 TESTS 20 109 23142400 1400
33548809 fiord B Dec. 23, 2017, 2:32 p.m. OK PyPy 3 TESTS 20 109 23142400 1400
33550841 pragy B Dec. 23, 2017, 2:38 p.m. OK PyPy 3 TESTS 20 109 23756800 1400
60709935 kopok2 B Sept. 17, 2019, 7:42 a.m. OK PyPy 3 TESTS 20 139 0 1400
65394533 kchau B Nov. 19, 2019, 6:33 p.m. OK PyPy 3 TESTS 20 155 0 1400
33564558 asfd221 B Dec. 23, 2017, 3:36 p.m. OK Python 2 TESTS 20 46 4608000 1400
33577562 saqehi B Dec. 23, 2017, 7:59 p.m. OK Python 2 TESTS 20 61 4608000 1400
35385391 laoliumang B Feb. 17, 2018, 8:04 a.m. OK Python 2 TESTS 20 62 4608000 1400
33846356 franckmy B Jan. 1, 2018, 12:02 p.m. OK Python 2 TESTS 20 62 4608000 1400
33565515 mgserjio B Dec. 23, 2017, 3:41 p.m. OK Python 2 TESTS 20 62 4608000 1400
33565006 akshay125 B Dec. 23, 2017, 3:39 p.m. OK Python 2 TESTS 20 62 4608000 1400
33561192 wangkan2001 B Dec. 23, 2017, 3:20 p.m. OK Python 2 TESTS 20 62 4608000 1400
33559215 recurze B Dec. 23, 2017, 3:10 p.m. OK Python 2 TESTS 20 62 4608000 1400
33553838 adipt B Dec. 23, 2017, 2:48 p.m. OK Python 2 TESTS 20 62 4608000 1400
33551470 aeternalis1 B Dec. 23, 2017, 2:40 p.m. OK Python 2 TESTS 20 62 4608000 1400
33564834 prakhar17252 B Dec. 23, 2017, 3:38 p.m. OK Python 3 TESTS 20 46 5529600 1400
33564109 blinkRS B Dec. 23, 2017, 3:34 p.m. OK Python 3 TESTS 20 46 5632000 1400
33557497 klimoza B Dec. 23, 2017, 3:03 p.m. OK Python 3 TESTS 20 46 5632000 1400
33807454 ConspiracyTrial B Dec. 30, 2017, 11:11 a.m. OK Python 3 TESTS 20 61 5529600 1400
33574758 eugalt B Dec. 23, 2017, 5:53 p.m. OK Python 3 TESTS 20 61 5529600 1400
33568538 mr.ali B Dec. 23, 2017, 3:56 p.m. OK Python 3 TESTS 20 61 5529600 1400
33565642 RagnarArdal B Dec. 23, 2017, 3:42 p.m. OK Python 3 TESTS 20 61 5529600 1400
33560824 saipraveenmylavarapu B Dec. 23, 2017, 3:18 p.m. OK Python 3 TESTS 20 61 5529600 1400
34523329 iantha98 B Jan. 24, 2018, 4:45 p.m. OK Python 3 TESTS 20 61 5632000 1400
33637971 dcshin B Dec. 26, 2017, 6:37 a.m. OK Python 3 TESTS 20 61 5632000 1400
33595140 Hillmouse B Dec. 24, 2017, 2:10 p.m. OK Rust TESTS 20 15 1433600 1400
33559793 Leonardone B Dec. 23, 2017, 3:13 p.m. OK Rust TESTS 20 15 1433600 1400
33550417 hatoo B Dec. 23, 2017, 2:37 p.m. OK Rust TESTS 20 15 1433600 1400
33554002 dandersonw B Dec. 23, 2017, 2:49 p.m. OK Scala TESTS 20 530 40038400 1400
33576799 limed B Dec. 23, 2017, 7:22 p.m. OK Scala TESTS 20 545 40243200 1400
33551786 limed B Dec. 23, 2017, 2:41 p.m. OK Scala TESTS 20 576 40243200 1400
33658965 ddesideria B Dec. 27, 2017, 12:32 a.m. OK Scala TESTS 20 639 40550400 1400

remove filters

Back to search problems