Hello 2020

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
1284 Hello 2020 FINISHED False 9000 153683699 Jan. 4, 2020, 12:05 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 174 ) G Seollal PROGRAMMING graphs 3300

B'It is only a few days until Seollal (Korean Lunar New Year), and Jaehyun has invited his family to his garden. There are kids among the guests. To make the gathering more fun for the kids, Jaehyun is going to run a game of hide-and-seek. The garden can be represented by a n x m grid of unit cells. Some (possibly zero) cells are blocked by rocks, and the remaining cells are free. Two cells are neighbors if they share an edge. Each cell has up to 4 neighbors: two in the horizontal direction and two in the vertical direction. Since the garden is represented as a grid, we can classify the cells in the garden as either "black" or "white". The top-left cell is black, and two cells which are neighbors must be different colors. Cell indices are 1-based, so the top-left corner of the garden is cell (1, 1) . Jaehyun wants to turn his garden into a maze by placing some walls between two cells. Walls can only be placed between neighboring cells. If the wall is placed between two neighboring cells a and b , then the two cells a and b are not neighboring from that point. One can walk directly between two neighboring cells if and only if there is no wall directly between them. A maze must have the following property. For each pair of free cells in the maze, there must be exactly one simple path between them. A simple path between cells a and b is a sequence of free cells in which the first cell is a , the last cell is b , all cells are distinct, and any two consecutive cells are neighbors which are not directly blocked by a wall. At first, kids will gather in cell (1, 1) , and start the hide-and-seek game. A kid can hide in a cell if and only if that cell is free, it is not (1, 1) , and has exactly one free neighbor. Jaehyun planted roses in the black cells, so it 's dangerous if the kids hide there. So Jaehyun wants to create a maze where the kids can only hide in white cells. You are given the map '...

Tutorials

Hello 2020 Editorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
68479949 ohweonfire G Jan. 10, 2020, 7:19 a.m. OK GNU C++11 TESTS 142 108 819200 3300
68480078 ohweonfire G Jan. 10, 2020, 7:22 a.m. OK GNU C++11 TESTS 142 109 819200 3300
68345262 cjy2003 G Jan. 7, 2020, 6:50 a.m. OK GNU C++11 TESTS 142 124 819200 3300
68423372 WZYYN G Jan. 9, 2020, 12:54 a.m. OK GNU C++11 TESTS 142 577 2355200 3300
68197384 SkyDec G Jan. 4, 2020, 2:28 p.m. OK GNU C++11 TESTS 142 1372 20582400 3300
68215804 Hazyknight G Jan. 4, 2020, 11:05 p.m. OK GNU C++11 TESTS 142 1560 8192000 3300
68646048 Rubblsh12345 G Jan. 12, 2020, 9:06 a.m. OK GNU C++11 TESTS 142 1684 8806400 3300
68217413 Benq G Jan. 5, 2020, 1:24 a.m. OK GNU C++14 TESTS 142 77 1331200 3300
68953602 vovamatrix G Jan. 16, 2020, 7:01 p.m. OK GNU C++14 TESTS 142 78 1433600 3300
68321815 dario2994 G Jan. 6, 2020, 3:15 p.m. OK GNU C++14 TESTS 142 187 16793600 3300
68742459 yasugongshang G Jan. 14, 2020, 2:16 a.m. OK GNU C++14 TESTS 142 530 2560000 3300
69562343 Messiah_10 G Jan. 26, 2020, 11:06 a.m. OK GNU C++14 TESTS 142 624 2560000 3300
68859221 hitonanode G Jan. 15, 2020, 11:33 a.m. OK GNU C++14 TESTS 142 1123 409600 3300
68859986 hitonanode G Jan. 15, 2020, 11:46 a.m. OK GNU C++14 TESTS 142 1138 512000 3300
68220468 ainta G Jan. 5, 2020, 4:19 a.m. OK GNU C++14 TESTS 142 2106 2252800 3300
69254689 Nakagawa.Kanon G Jan. 21, 2020, 3:18 p.m. OK GNU C++17 TESTS 142 46 204800 3300
68207197 ksun48 G Jan. 4, 2020, 5:49 p.m. OK GNU C++17 TESTS 142 46 204800 3300
68211834 ecnerwala G Jan. 4, 2020, 7:46 p.m. OK GNU C++17 TESTS 142 62 409600 3300
68214302 teapotd G Jan. 4, 2020, 9:29 p.m. OK GNU C++17 TESTS 142 78 512000 3300
69449737 besieger G Jan. 24, 2020, 5:34 a.m. OK GNU C++17 TESTS 142 78 614400 3300
68211873 teapotd G Jan. 4, 2020, 7:47 p.m. OK GNU C++17 TESTS 142 93 512000 3300
68215589 teapotd G Jan. 4, 2020, 10:48 p.m. OK GNU C++17 TESTS 142 108 512000 3300
68240785 Rafbill G Jan. 5, 2020, 12:43 p.m. OK GNU C++17 TESTS 142 249 921600 3300
68203817 ko_osaga G Jan. 4, 2020, 4:46 p.m. OK GNU C++17 TESTS 142 249 2662400 3300
68202597 yosupo G Jan. 4, 2020, 4:29 p.m. OK GNU C++17 TESTS 142 342 1536000 3300

remove filters

Back to search problems