2018-2019 ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-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
1070 2018-2019 ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred) FINISHED False 18000 197502923 Oct. 20, 2018, 8:05 a.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 853 ) G Monsters and Potions PROGRAMMING brute force dp greedy implementation 2500

B'Polycarp is an introvert person. In fact he is so much of an introvert that he plays "Monsters and Potions" board game alone. The board of the game is a row of n cells. The cells are numbered from 1 to n from left to right. There are three types of cells: a cell containing a single monster, a cell containing a single potion or a blank cell (it contains neither a monster nor a potion). Polycarp has m tokens representing heroes fighting monsters, which are initially located in the blank cells s_1, s_2, ... , s_m . Polycarp 's task is to choose a single cell (rally point) and one by one move all the heroes into this cell. A rally point can be a cell of any of three types. After Policarp selects a rally point, he picks a hero and orders him to move directly to the point. Once that hero reaches the point, Polycarp picks another hero and orders him also to go to the point. And so forth, until all the heroes reach the rally point cell. While going to the point, a hero can not deviate from the direct route or take a step back. A hero just moves cell by cell in the direction of the point until he reaches it. It is possible that multiple heroes are simultaneously in the same cell. Initially the i -th hero has h_i hit points (HP). Monsters also have HP, different monsters might have different HP. And potions also have HP, different potions might have different HP. If a hero steps into a cell which is blank (i.e. doesn 't contain a monster/potion), hero 's HP does not change. If a hero steps into a cell containing a monster, then the hero and the monster fight. If monster 's HP is strictly higher than hero 's HP, then the monster wins and Polycarp loses the whole game. If hero 's HP is greater or equal to monster 's HP, then the hero wins and monster 's HP is subtracted from hero 's HP. I.e. the hero survives if his HP drops to zero, but dies (and Polycarp looses) if his HP becomes negative due to a fight. If a hero wins a fight with a '...

Tutorials

Solution to problem M. Algoland and Berland of 2018-2019 ICPC, NEERC

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
48654449 sky48 G Jan. 21, 2019, 1:33 a.m. OK GNU C++11 TESTS 77 30 0 2500
45710090 _aether G Nov. 14, 2018, 1:40 p.m. OK GNU C++11 TESTS 77 30 0 2500
44594945 cly_none zhouzhendong G Oct. 20, 2018, 12:15 p.m. OK GNU C++11 TESTS 77 30 0 2500
60322226 faremy G Sept. 9, 2019, 9:13 p.m. OK GNU C++11 TESTS 77 31 0 2500
57868055 lopare G July 27, 2019, 10:53 p.m. OK GNU C++11 TESTS 77 31 0 2500
57735669 py_ultron G July 25, 2019, 9:52 a.m. OK GNU C++11 TESTS 77 31 0 2500
54632940 20175259 G May 25, 2019, 3:23 p.m. OK GNU C++11 TESTS 77 31 0 2500
53950504 luogu_bot3 G May 10, 2019, 9:17 a.m. OK GNU C++11 TESTS 77 31 0 2500
53950254 luogu_bot5 G May 10, 2019, 9:09 a.m. OK GNU C++11 TESTS 77 31 0 2500
53605696 vjudge1 G May 1, 2019, 10:14 a.m. OK GNU C++11 TESTS 77 31 0 2500
44596390 BS_ZY liujunhao Pray2018 G Oct. 20, 2018, 12:38 p.m. OK GNU C++14 TESTS 77 15 0 2500
44584563 KivApple Kronstrong nikivas G Oct. 20, 2018, 9:14 a.m. OK GNU C++14 TESTS 77 30 0 2500
44763398 vjudge5 G Oct. 24, 2018, 8:27 a.m. OK GNU C++14 TESTS 77 30 102400 2500
44663176 I_love_chickpea Chameleon2460 Radewoosh G Oct. 21, 2018, 4:21 p.m. OK GNU C++14 TESTS 77 30 102400 2500
44812991 Kuha kllp Hansuzu G Oct. 24, 2018, 7:59 p.m. OK GNU C++14 TESTS 77 30 204800 2500
44757673 jhdjames37 G Oct. 24, 2018, 4:32 a.m. OK GNU C++14 TESTS 77 30 204800 2500
44750973 Grzegorz bulat.s RamTararam G Oct. 23, 2018, 7:51 p.m. OK GNU C++14 TESTS 77 30 204800 2500
44704905 OneStone metatron cescmentation_folch G Oct. 22, 2018, 4:22 p.m. OK GNU C++14 TESTS 77 30 204800 2500
61705159 1970966462 G Oct. 2, 2019, 9:48 a.m. OK GNU C++14 TESTS 77 31 0 2500
59681830 puneetrai04 karngyan archit4077sh G Aug. 29, 2019, 9:13 p.m. OK GNU C++14 TESTS 77 31 0 2500
44758544 fzh0917 G Oct. 24, 2018, 5:19 a.m. OK GNU C++17 TESTS 77 30 307200 2500
44596199 Kirito.LVL99 tanya.106 Mao_Z G Oct. 20, 2018, 12:35 p.m. OK GNU C++17 TESTS 77 30 409600 2500
44585141 ucrop G Oct. 20, 2018, 9:22 a.m. OK GNU C++17 TESTS 77 30 409600 2500
45794835 wa007 G Nov. 16, 2018, 9:50 a.m. OK GNU C++17 TESTS 77 30 8294400 2500
62947544 shef_2318 G Oct. 19, 2019, 5:55 p.m. OK GNU C++17 TESTS 77 31 0 2500
61780661 monggo1995 G Oct. 3, 2019, 1:04 p.m. OK GNU C++17 TESTS 77 31 0 2500
61087166 cristian1997 G Sept. 22, 2019, 6:52 p.m. OK GNU C++17 TESTS 77 31 0 2500
59772825 shubham__36 rahulb G Aug. 30, 2019, 8:46 p.m. OK GNU C++17 TESTS 77 31 0 2500
52638069 nikgaevoy G April 12, 2019, 11:11 a.m. OK GNU C++17 TESTS 77 31 0 2500
46452262 Leonid_Ich G Dec. 1, 2018, 4:02 p.m. OK GNU C++17 TESTS 77 31 0 2500
54389460 Quan2202 G May 19, 2019, 3:18 p.m. OK Java 8 TESTS 77 124 0 2500
51368801 mashinist G March 16, 2019, 10:57 a.m. OK Java 8 TESTS 77 124 0 2500
46903405 Jarik G Dec. 11, 2018, 1:02 p.m. OK Java 8 TESTS 77 124 0 2500
44597707 aviroop123 amnesiac_dusk ak_97 G Oct. 20, 2018, 1:01 p.m. OK Java 8 TESTS 77 124 0 2500
45594048 vjudge3 G Nov. 12, 2018, 2:16 p.m. OK MS C++ TESTS 77 31 0 2500
44936719 Vladimir22 G Oct. 27, 2018, 5:49 a.m. OK MS C++ TESTS 77 31 0 2500
44925864 dryush97 G Oct. 26, 2018, 8:05 p.m. OK MS C++ TESTS 77 31 0 2500
44623467 vjudge3 G Oct. 21, 2018, 7:49 a.m. OK MS C++ TESTS 77 31 0 2500
44986438 nik1998 G Oct. 28, 2018, 10:41 a.m. OK MS C++ TESTS 77 31 204800 2500
44593902 lucyanna2018 ShadowSong G Oct. 20, 2018, 11:56 a.m. OK MS C++ TESTS 77 31 204800 2500
44749877 qb2008 G Oct. 23, 2018, 7:04 p.m. OK PyPy 3 TESTS 77 264 1331200 2500
44844838 marcv81 G Oct. 25, 2018, 2:06 p.m. OK Python 3 TESTS 77 124 0 2500
44577802 G Oct. 20, 2018, 7:34 a.m. OK Unknown TESTS 0 0 0 2500
44577793 G Oct. 20, 2018, 7:34 a.m. OK Unknown TESTS 0 0 0 2500
44577760 G Oct. 20, 2018, 7:34 a.m. OK Unknown TESTS 0 0 0 2500
44577754 G Oct. 20, 2018, 7:34 a.m. OK Unknown TESTS 0 0 0 2500
44577747 G Oct. 20, 2018, 7:34 a.m. OK Unknown TESTS 0 0 0 2500
44577739 G Oct. 20, 2018, 7:34 a.m. OK Unknown TESTS 0 0 0 2500
44577722 G Oct. 20, 2018, 7:34 a.m. OK Unknown TESTS 0 0 0 2500
44577705 G Oct. 20, 2018, 7:34 a.m. OK Unknown TESTS 0 0 0 2500
44577695 G Oct. 20, 2018, 7:34 a.m. OK Unknown TESTS 0 0 0 2500
44577658 G Oct. 20, 2018, 7:34 a.m. OK Unknown TESTS 0 0 0 2500

remove filters

Back to search problems