Codeforces Round 583 (Div. 1 + Div. 2, based on Olympiad of Metropolises)

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
1214 Codeforces Round 583 (Div. 1 + Div. 2, based on Olympiad of Metropolises) FINISHED False 9000 169851287 Sept. 4, 2019, 9:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 5250 ) D Treasure Island PROGRAMMING dfs and similar dp flows hashing 1800

B'All of us love treasures, right? That 's why young Vasya is heading for a Treasure Island. Treasure Island may be represented as a rectangular table n x m which is surrounded by the ocean. Let us number rows of the field with consecutive integers from 1 to n from top to bottom and columns with consecutive integers from 1 to m from left to right. Denote the cell in r -th row and c -th column as (r, c) . Some of the island cells contain impassable forests, and some cells are free and passable. Treasure is hidden in cell (n, m) . Vasya got off the ship in cell (1, 1) . Now he wants to reach the treasure. He is hurrying up, so he can move only from cell to the cell in next row (downwards) or next column (rightwards), i.e. from cell (x, y) he can move only to cells (x+1, y) and (x, y+1) . Of course Vasya can 't move through cells with impassable forests. Evil Witch is aware of Vasya 's journey and she is going to prevent him from reaching the treasure. Before Vasya 's first move she is able to grow using her evil magic impassable forests in previously free cells. Witch is able to grow a forest in any number of any free cells except cells (1, 1) where Vasya got off his ship and (n, m) where the treasure is hidden. Help Evil Witch by finding out the minimum number of cells she has to turn into impassable forests so that Vasya is no longer able to reach the treasure. First line of input contains two positive integers n , m ( 3 <= n cdot m <= 1 ,000 ,000 ), sizes of the island. Following n lines contains strings s_i of length m describing the island, j -th character of string s_i equals "#" if cell (i, j) contains an impassable forest and "." if the cell is free and passable. Let us remind you that Vasya gets of his ship at the cell (1, 1) , i.e. the first cell of the first row, and he wants to reach cell (n, m) , i.e. '...

Tutorials

Tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
60018147 hos.lyric D Sept. 4, 2019, 12:30 p.m. OK D TESTS 240 919 133120000 1800
60077883 ruban D Sept. 5, 2019, 1:06 p.m. OK Delphi TESTS 241 140 141312000 1800
60114230 vjudge1 D Sept. 5, 2019, 3:50 p.m. OK FPC TESTS 241 436 15360000 1800
60023468 wjhh D Sept. 4, 2019, 1:37 p.m. OK FPC TESTS 241 436 125952000 1800
60245634 vjudge3 D Sept. 8, 2019, 2:23 a.m. OK FPC TESTS 245 452 15462400 1800
60050216 sjx233 D Sept. 4, 2019, 11:48 p.m. OK GNU C11 TESTS 241 62 16998400 1800
60020565 sjx233 D Sept. 4, 2019, 1 p.m. OK GNU C11 TESTS 240 62 16998400 1800
60452637 shenlihong D Sept. 12, 2019, 4:35 p.m. OK GNU C11 TESTS 247 77 71987200 1800
60442235 asd4d4d4d D Sept. 12, 2019, 12:56 p.m. OK GNU C11 TESTS 247 140 65024000 1800
60676050 lastanifo D Sept. 16, 2019, 12:27 p.m. OK GNU C11 TESTS 247 155 48947200 1800
60195627 BugLeave D Sept. 7, 2019, 1:29 a.m. OK GNU C11 TESTS 241 156 14028800 1800
60326959 Snoopysfriend D Sept. 10, 2019, 2:30 a.m. OK GNU C11 TESTS 245 171 65945600 1800
60034661 jschr D Sept. 4, 2019, 4:24 p.m. OK GNU C11 TESTS 241 966 3993600 1800
60075726 Sakura_Kaka D Sept. 5, 2019, 12:31 p.m. OK GNU C++11 TESTS 241 31 35942400 1800
60023873 llx2020 D Sept. 4, 2019, 1:43 p.m. OK GNU C++11 TESTS 241 46 10649600 1800
68750499 luogu_bot3 D Jan. 14, 2020, 6:30 a.m. OK GNU C++11 TESTS 247 46 12083200 1800
60335188 wusimin D Sept. 10, 2019, 8:10 a.m. OK GNU C++11 TESTS 245 46 16896000 1800
61298070 xpysss D Sept. 26, 2019, 3 a.m. OK GNU C++11 TESTS 247 46 18124800 1800
60193768 daifucong D Sept. 6, 2019, 11:49 p.m. OK GNU C++11 TESTS 241 46 20070400 1800
60015051 Soetdit D Sept. 4, 2019, 11:30 a.m. OK GNU C++11 TESTS 240 46 24064000 1800
60354091 amyandamy D Sept. 10, 2019, 3:26 p.m. OK GNU C++11 TESTS 247 46 32972800 1800
60175939 advgr1997 D Sept. 6, 2019, 2:26 p.m. OK GNU C++11 TESTS 241 46 48742400 1800
60324855 X-O__O-X D Sept. 10, 2019, 12:01 a.m. OK GNU C++11 TESTS 245 46 52019200 1800
60162040 huyvp D Sept. 6, 2019, 9:22 a.m. OK GNU C++14 TESTS 241 46 5017600 1800
60045284 JustForRating007 D Sept. 4, 2019, 8:06 p.m. OK GNU C++14 TESTS 241 62 6963200 1800
60023685 dinesh_1997 D Sept. 4, 2019, 1:40 p.m. OK GNU C++14 TESTS 241 62 6963200 1800
60062065 Guuuu D Sept. 5, 2019, 7:27 a.m. OK GNU C++14 TESTS 241 62 7065600 1800
60025406 I_WannaBe D Sept. 4, 2019, 2:04 p.m. OK GNU C++14 TESTS 241 62 7168000 1800
60059394 swapnil07 D Sept. 5, 2019, 6:11 a.m. OK GNU C++14 TESTS 241 62 10956800 1800
60059905 Noob_Noob_ D Sept. 5, 2019, 6:26 a.m. OK GNU C++14 TESTS 241 62 11673600 1800
60756998 strange D Sept. 18, 2019, 9:24 a.m. OK GNU C++14 TESTS 247 62 16998400 1800
60074560 idLe. D Sept. 5, 2019, 12:12 p.m. OK GNU C++14 TESTS 241 62 19251200 1800
60284839 Zuizehongquaunha D Sept. 9, 2019, 1:11 a.m. OK GNU C++14 TESTS 245 62 36966400 1800
60308948 Liverbird2002 D Sept. 9, 2019, 3 p.m. OK GNU C++17 TESTS 245 46 1638400 1800
67329697 shaurya.bagga D Dec. 21, 2019, 11:06 a.m. OK GNU C++17 TESTS 247 46 2969600 1800
60206449 hiepcute2001 D Sept. 7, 2019, 8:23 a.m. OK GNU C++17 TESTS 241 46 9011200 1800
60181960 antonis.white D Sept. 6, 2019, 4:44 p.m. OK GNU C++17 TESTS 241 61 11980800 1800
60258809 forget D Sept. 8, 2019, 10:36 a.m. OK GNU C++17 TESTS 245 62 102400 1800
60025902 Nightmare05 D Sept. 4, 2019, 2:10 p.m. OK GNU C++17 TESTS 241 62 9011200 1800
60074591 AayushAC1998 D Sept. 5, 2019, 12:12 p.m. OK GNU C++17 TESTS 241 62 10035200 1800
60074646 AayushAC1998 D Sept. 5, 2019, 12:13 p.m. OK GNU C++17 TESTS 241 62 10035200 1800
60068897 Ash28ish D Sept. 5, 2019, 10:21 a.m. OK GNU C++17 TESTS 241 62 16179200 1800
60200770 GoldenLord D Sept. 7, 2019, 5:32 a.m. OK GNU C++17 TESTS 241 62 16384000 1800
67137218 WeHaveInt D Dec. 18, 2019, 4:58 a.m. OK Go TESTS 247 374 55091200 1800
62052185 synapse D Oct. 7, 2019, 9:48 a.m. OK Go TESTS 247 499 81100800 1800
62052001 synapse D Oct. 7, 2019, 9:44 a.m. OK Go TESTS 247 499 81203200 1800
61325315 congbao D Sept. 26, 2019, 1:39 p.m. OK Go TESTS 247 842 111411200 1800
60074415 RedEnums D Sept. 5, 2019, 12:10 p.m. OK Java 8 TESTS 241 202 46899200 1800
60039765 Agnimandur D Sept. 4, 2019, 5:56 p.m. OK Java 8 TESTS 241 280 16896000 1800
60011504 Sasuke-u D Sept. 4, 2019, 11:10 a.m. OK Java 8 TESTS 240 280 16896000 1800
60057084 jenil1999 D Sept. 5, 2019, 4:55 a.m. OK Java 8 TESTS 241 280 22323200 1800
60076159 mufaddalnaya D Sept. 5, 2019, 12:39 p.m. OK Java 8 TESTS 241 280 25190400 1800
60022379 Nesrin D Sept. 4, 2019, 1:23 p.m. OK Java 8 TESTS 241 280 62771200 1800
60057933 Kavi.Prajapati D Sept. 5, 2019, 5:26 a.m. OK Java 8 TESTS 241 296 25190400 1800
60382118 dtsarun D Sept. 11, 2019, 9:42 a.m. OK Java 8 TESTS 247 311 20582400 1800
60078222 chojh1222 D Sept. 5, 2019, 1:12 p.m. OK Java 8 TESTS 241 373 71782400 1800
60190148 Nutella3000 D Sept. 6, 2019, 8:46 p.m. OK Java 8 TESTS 241 389 39628800 1800
60063170 Spheniscine D Sept. 5, 2019, 7:56 a.m. OK Kotlin TESTS 241 280 33792000 1800
60062919 Spheniscine D Sept. 5, 2019, 7:48 a.m. OK Kotlin TESTS 241 311 34201600 1800
61095580 fredboy D Sept. 23, 2019, 2:39 a.m. OK Kotlin TESTS 247 576 96665600 1800
60029655 Benq D Sept. 4, 2019, 3:03 p.m. OK Kotlin TESTS 241 919 117657600 1800
60267460 vadimmm D Sept. 8, 2019, 2 p.m. OK Kotlin TESTS 245 982 118374400 1800
61086609 and999 D Sept. 22, 2019, 6:38 p.m. OK Mono C# TESTS 247 296 25702400 1800
60015644 eki D Sept. 4, 2019, 11:33 a.m. OK Mono C# TESTS 240 436 27955200 1800
61254152 nadilk D Sept. 25, 2019, 9:25 a.m. OK Mono C# TESTS 247 967 114995200 1800
60177671 caecilius D Sept. 6, 2019, 3 p.m. OK MS C++ TESTS 241 139 20992000 1800
63528375 vjudge1 D Oct. 27, 2019, 5:58 a.m. OK MS C++ TESTS 247 139 26009600 1800
68857837 vjudge2 D Jan. 15, 2020, 11:10 a.m. OK MS C++ TESTS 247 139 28979200 1800
61688650 vjudge5 D Oct. 2, 2019, 4:56 a.m. OK MS C++ TESTS 247 139 28979200 1800
68771632 vjudge1 D Jan. 14, 2020, 12:04 p.m. OK MS C++ TESTS 247 139 32972800 1800
61697480 vjudge1 D Oct. 2, 2019, 7:23 a.m. OK MS C++ TESTS 247 140 26009600 1800
68848647 vjudge4 D Jan. 15, 2020, 8:12 a.m. OK MS C++ TESTS 247 140 45977600 1800
60197965 vjudge4 D Sept. 7, 2019, 3:12 a.m. OK MS C++ TESTS 241 155 20992000 1800
61698312 vjudge1 D Oct. 2, 2019, 7:39 a.m. OK MS C++ TESTS 247 155 28979200 1800
61701726 vjudge4 D Oct. 2, 2019, 8:46 a.m. OK MS C++ TESTS 247 171 28979200 1800
60066113 yanyuqinghan D Sept. 5, 2019, 9:10 a.m. OK MS C++ 2017 TESTS 241 170 22016000 1800
61840421 vjudge1 D Oct. 4, 2019, 9:27 a.m. OK MS C++ 2017 TESTS 247 186 26009600 1800
64757043 vjudge5 D Nov. 12, 2019, 5:23 p.m. OK MS C++ 2017 TESTS 247 202 26009600 1800
60848212 ChaLemon D Sept. 19, 2019, 1:13 p.m. OK MS C++ 2017 TESTS 247 202 26009600 1800
68839231 vjudge1 D Jan. 15, 2020, 5:01 a.m. OK MS C++ 2017 TESTS 247 202 49049600 1800
60011215 VagrantAC D Sept. 4, 2019, 11:08 a.m. OK MS C++ 2017 TESTS 240 217 22118400 1800
68839154 vjudge1 D Jan. 15, 2020, 4:59 a.m. OK MS C++ 2017 TESTS 247 217 30003200 1800
60042139 AlexandrBusse D Sept. 4, 2019, 6:44 p.m. OK MS C++ 2017 TESTS 241 249 50176000 1800
64742769 vjudge2 D Nov. 12, 2019, 12:31 p.m. OK MS C++ 2017 TESTS 247 280 50176000 1800
60714100 Izeytee D Sept. 17, 2019, 9:49 a.m. OK MS C++ 2017 TESTS 247 296 68096000 1800
60057914 TheManTheMythTheLegend D Sept. 5, 2019, 5:25 a.m. OK PyPy 2 TESTS 241 592 83046400 1800
60036553 alexwice D Sept. 4, 2019, 4:57 p.m. OK PyPy 2 TESTS 241 842 125644800 1800
60148795 MVP D Sept. 6, 2019, 2:30 a.m. OK PyPy 2 TESTS 241 873 153190400 1800
60148563 MVP D Sept. 6, 2019, 2:20 a.m. OK PyPy 2 TESTS 241 873 153395200 1800
60148869 MVP D Sept. 6, 2019, 2:33 a.m. OK PyPy 2 TESTS 241 966 153600000 1800
60024716 MVP D Sept. 4, 2019, 1:54 p.m. OK PyPy 2 TESTS 241 966 153600000 1800
60607679 orailly D Sept. 15, 2019, 10:02 a.m. OK PyPy 3 TESTS 247 389 30924800 1800
66140005 vjudge1 D Dec. 1, 2019, 1:58 p.m. OK PyPy 3 TESTS 247 529 48947200 1800
60067563 keroru D Sept. 5, 2019, 9:46 a.m. OK PyPy 3 TESTS 241 592 107827200 1800
60034747 youness.amhaouch D Sept. 4, 2019, 4:25 p.m. OK PyPy 3 TESTS 241 624 108441600 1800
60075668 nagitaosu D Sept. 5, 2019, 12:30 p.m. OK PyPy 3 TESTS 241 717 94924800 1800
60508004 meet29 D Sept. 13, 2019, 11:29 p.m. OK PyPy 3 TESTS 247 732 172851200 1800
60192671 DiedriK D Sept. 6, 2019, 10:35 p.m. OK PyPy 3 TESTS 241 733 90624000 1800
60275824 krist777 D Sept. 8, 2019, 5:44 p.m. OK PyPy 3 TESTS 245 763 97382400 1800
69880718 grhkm D Jan. 31, 2020, 6:14 a.m. OK PyPy 3 TESTS 247 826 77721600 1800
61081147 satyamcse D Sept. 22, 2019, 4:24 p.m. OK PyPy 3 TESTS 247 889 93593600 1800
60607827 orailly D Sept. 15, 2019, 10:05 a.m. OK Python 3 TESTS 247 950 24268800 1800
60043720 sansen D Sept. 4, 2019, 7:24 p.m. OK Rust TESTS 241 342 88473600 1800
60174520 yoshrc D Sept. 6, 2019, 1:55 p.m. OK Rust TESTS 241 608 113049600 1800
61015747 ikazuya0201 D Sept. 21, 2019, 1:20 p.m. OK Rust TESTS 247 623 226816000 1800
60162356 limed D Sept. 6, 2019, 9:28 a.m. OK Scala TESTS 241 295 46387200 1800
60161980 limed D Sept. 6, 2019, 9:21 a.m. OK Scala TESTS 241 327 46387200 1800
60162208 limed D Sept. 6, 2019, 9:25 a.m. OK Scala TESTS 241 623 66048000 1800
60161833 limed D Sept. 6, 2019, 9:17 a.m. OK Scala TESTS 241 639 67072000 1800
60161691 limed D Sept. 6, 2019, 9:14 a.m. OK Scala TESTS 241 733 74444800 1800

remove filters

Back to search problems