2019-2020 ICPC, Asia Jakarta Regional Contest (Online Mirror, ICPC Rules, Teams Preferred)

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
1252 2019-2020 ICPC, Asia Jakarta Regional Contest (Online Mirror, ICPC Rules, Teams Preferred) FINISHED False 18000 165292187 Oct. 27, 2019, 3:30 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 734 ) J Tiling Terrace PROGRAMMING brute force dp 2600

B"Talia has just bought an abandoned house in the outskirt of Jakarta. The house has a nice and long yard which can be represented as a one-dimensional grid containing 1 x N cells. To beautify the house, Talia is going to build a terrace on the yard by tiling the cells. Each cell on the yard contains either soil (represented by the character '.') or rock (represented by the character '#'), and there are at most 50 cells containing rocks. Being a superstitious person, Talia wants to tile the terrace with mystical tiles that have the power to repel ghosts. There are three types of mystical tiles: Each tile of Type-1, Type-2, and Type-3 has the power to repel G_1 , G_2 , and G_3 ghosts per day, respectively. There are also some mystical rules which must be followed for the power to be effective: Talia is scared of ghosts, thus, the terrace (which is tiled by mystical tiles) should be able to repel as many ghosts as possible. Help Talia to find the maximum number of ghosts that can be repelled per day by the terrace. Note that Talia does not need to tile all the cells on the yard as long as the number of ghosts that can be repelled by the terrace is maximum. Input begins with a line containing five integers: N K G_1 G_2 G_3 ( 1 <= N <= 100 ,000 ; 0 <= K <= N ; 0 <= G_1, G_2, G_3 <= 1000 ) representing the number of cells, the maximum number of tiles of Type-1, the number of ghosts repelled per day by a tile of Type-1, the number of ghosts repelled per day by a tile of Type-2, and the number of ghosts repelled by a tile of Type-3, respectively. The next line contains a string of N characters representing the yard. Each character in the string is either '.' which represents a soil cell or '#' which represents a rock cell. There are at most 50 rock cells. Output in a line an integer representing the maximum number of ghosts that can be repelled per day. Explanation for "...

Tutorials

T

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
65463364 cheetose J Nov. 21, 2019, 4:10 a.m. OK GNU C++11 TESTS 30 30 1433600 2600
64789237 ytriayggg henryrabbit XLor J Nov. 13, 2019, 10:29 a.m. OK GNU C++11 TESTS 30 31 102400 2600
63617360 kobus arthur.nascimento nonsequitur J Oct. 27, 2019, 8:16 p.m. OK GNU C++11 TESTS 30 31 102400 2600
64191744 vjudge4 J Nov. 4, 2019, 8:01 a.m. OK GNU C++11 TESTS 30 31 409600 2600
63745557 danya090699 J Oct. 29, 2019, 6:21 p.m. OK GNU C++11 TESTS 30 31 409600 2600
63739895 SirirNicheBirirDokan s_h_shahin sajibreadd J Oct. 29, 2019, 4:34 p.m. OK GNU C++11 TESTS 30 31 512000 2600
63743176 RBTsDefoliation J Oct. 29, 2019, 5:40 p.m. OK GNU C++11 TESTS 30 31 1126400 2600
66264365 vjudge1 J Dec. 4, 2019, 9:47 a.m. OK GNU C++11 TESTS 30 31 1433600 2600
64292247 duxing201606 J Nov. 5, 2019, 7:27 a.m. OK GNU C++11 TESTS 30 31 1433600 2600
63564282 Prabowo J Oct. 27, 2019, 3:21 p.m. OK GNU C++11 TESTS 30 31 1433600 2600
65526366 HIR180 yutaka1999 J Nov. 22, 2019, 10:33 a.m. OK GNU C++14 TESTS 30 15 102400 2600
63532171 OYJason Kawaya Kloze J Oct. 27, 2019, 7:02 a.m. OK GNU C++14 TESTS 30 15 1024000 2600
64874554 Andreasyan J Nov. 14, 2019, 9:21 a.m. OK GNU C++14 TESTS 30 15 1433600 2600
63535865 Anachor Arg_007 _Ash__ J Oct. 27, 2019, 8:04 a.m. OK GNU C++14 TESTS 30 15 2355200 2600
64577015 NoTeamName J Nov. 9, 2019, 11:02 a.m. OK GNU C++14 TESTS 30 30 102400 2600
64573745 bdzxt mmh zhushaoben J Nov. 9, 2019, 10:05 a.m. OK GNU C++14 TESTS 30 30 102400 2600
63667899 rdd6584 J Oct. 28, 2019, 3:58 p.m. OK GNU C++14 TESTS 30 30 102400 2600
63530105 nhho J Oct. 27, 2019, 6:28 a.m. OK GNU C++14 TESTS 30 30 409600 2600
63526261 ecnerwala scott_wu J Oct. 27, 2019, 5:20 a.m. OK GNU C++14 TESTS 30 30 512000 2600
63530434 Origenes OAHOBOHAO emmah J Oct. 27, 2019, 6:34 a.m. OK GNU C++14 TESTS 30 30 1433600 2600
64516557 tlwpdus molamola. J Nov. 8, 2019, 10:56 a.m. OK GNU C++17 TESTS 30 30 102400 2600
63702820 SheepRanger J Oct. 29, 2019, 7:53 a.m. OK GNU C++17 TESTS 30 30 102400 2600
63950766 keko37 J Oct. 31, 2019, 9:09 p.m. OK GNU C++17 TESTS 30 30 716800 2600
65459141 interestingLSY J Nov. 20, 2019, 11:47 p.m. OK GNU C++17 TESTS 30 30 1228800 2600
64353628 mr.banana shengdebao IHaveShort J Nov. 6, 2019, 9:22 a.m. OK GNU C++17 TESTS 30 30 1638400 2600
65089000 Jester szechuan_sauce Medeowex J Nov. 15, 2019, 6 p.m. OK GNU C++17 TESTS 30 30 2764800 2600
63527992 Um_nik J Oct. 27, 2019, 5:51 a.m. OK GNU C++17 TESTS 30 30 3788800 2600
64496944 ggoh J Nov. 8, 2019, 12:47 a.m. OK GNU C++17 TESTS 30 30 22118400 2600
63780380 gisp_zjz J Oct. 30, 2019, 10:51 a.m. OK GNU C++17 TESTS 30 31 102400 2600
64109888 Pajaraja milisav GiannisAntetokounmpo J Nov. 2, 2019, 6:14 p.m. OK GNU C++17 TESTS 30 31 204800 2600
65805528 dalt J Nov. 27, 2019, 8:44 a.m. OK Java 8 TESTS 30 171 46694400 2600
63532073 n_inja mikit kcvlex J Oct. 27, 2019, 7 a.m. OK Java 8 TESTS 30 187 17612800 2600
69923573 Tlatoani J Jan. 31, 2020, 7:21 p.m. OK Kotlin TESTS 30 186 18124800 2600
64720670 Spheniscine J Nov. 12, 2019, 3:14 a.m. OK Kotlin TESTS 30 233 18534400 2600
63534025 FlakeLCR wow_ok conqueror_of_tourist J Oct. 27, 2019, 7:32 a.m. OK PyPy 3 TESTS 30 155 2662400 2600
67302969 Jorke J Dec. 20, 2019, 7:35 p.m. OK PyPy 3 TESTS 30 171 3481600 2600

remove filters

Back to search problems