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 |
|---|---|---|---|---|---|---|
| 847 | 2017-2018 ACM-ICPC, NEERC, Southern Subregional Contest, qualification stage (Online Mirror, ACM-ICPC Rules, Teams Preferred) | FINISHED | False | 14400 | 270665723 | Sept. 18, 2017, 1:05 p.m. |
Solved |
Index |
Name |
Type |
Tags |
Community Tag |
Rating |
|---|---|---|---|---|---|---|
| ( 1383 ) | D | Dog Show | PROGRAMMING | data structures greedy | 2300 |
A new dog show on TV is starting next week. On the show dogs are required to demonstrate bottomless stomach, strategic thinking and self-preservation instinct. You and your dog are invited to compete with other participants and naturally you want to win! On the show a dog needs to eat as many bowls of dog food as possible (bottomless stomach helps here). Dogs compete separately of each other and the rules are as follows: At the start of the show the dog and the bowls are located on a line. The dog starts at position x = 0 and n bowls are located at positions x = 1, x = 2, ..., x = n . The bowls are numbered from 1 to n from left to right. After the show starts the dog immediately begins to run to the right to the first bowl. The food inside bowls is not ready for eating at the start because it is too hot (dog's self-preservation instinct prevents eating). More formally, the dog can eat from the i -th bowl after t i seconds from the start of the show or later. It takes dog 1 second to move from the position x to the position x + 1 . The dog is not allowed to move to the left, the dog runs only to the right with the constant speed 1 distance unit per second. When the dog reaches a bowl (say, the bowl i ), the following cases are possible: the food had cooled down (i.e. it passed at least t i seconds from the show start): the dog immediately eats the food and runs to the right without any stop, the food is hot (i.e. it passed less than t i seconds from the show start): the dog has two options: to wait for the i -th bowl, eat the food and continue to run at the moment t i or to skip the i -th bowl and continue to run to the right without any stop. After T seconds from the start the show ends. If the dog reaches a bowl of food at moment T the dog can not eat it. The show stops before T seconds if the dog had run to the right of the last bowl. You need to help your dog create a strategy with which the maximum possible number of bowls of food will be eaten in T s |
Submission Id |
Author(s) |
Index |
Submitted |
Verdict |
Language |
Test Set |
Tests Passed |
Time taken (ms) |
Memory Consumed (bytes) |
Tags |
Rating |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 30478118 | VAVAvile heklo nguyenxxxxxxx | D | Sept. 18, 2017, 4:33 p.m. | OK | FPC | TESTS | 151 | 186 | 14540800 | 2300 | |
| 30473427 | FallDream ditoly ACMLCZH | D | Sept. 18, 2017, 3:10 p.m. | OK | GNU C++ | TESTS | 151 | 31 | 3584000 | 2300 | |
| 32544252 | BinGoo0o0o Zarxdy34 DeaphetS | D | Nov. 22, 2017, 8:25 a.m. | OK | GNU C++ | TESTS | 151 | 46 | 1740800 | 2300 | |
| 30540323 | hac8ker | D | Sept. 20, 2017, 9:48 a.m. | OK | GNU C++ | TESTS | 151 | 46 | 2457600 | 2300 | |
| 34510073 | vjudge2 | D | Jan. 24, 2018, 8:45 a.m. | OK | GNU C++ | TESTS | 151 | 46 | 3481600 | 2300 | |
| 34472617 | vjudge3 | D | Jan. 23, 2018, 7:40 a.m. | OK | GNU C++ | TESTS | 151 | 46 | 3481600 | 2300 | |
| 32660780 | vjudge1 | D | Nov. 26, 2017, 3:18 a.m. | OK | GNU C++ | TESTS | 151 | 46 | 3584000 | 2300 | |
| 32660279 | vjudge4 | D | Nov. 26, 2017, 2:39 a.m. | OK | GNU C++ | TESTS | 151 | 46 | 3584000 | 2300 | |
| 36191322 | vjudge4 | D | March 11, 2018, 8 a.m. | OK | GNU C++ | TESTS | 151 | 46 | 3686400 | 2300 | |
| 31536020 | vjudge1 | D | Oct. 20, 2017, 2:14 p.m. | OK | GNU C++ | TESTS | 151 | 46 | 3686400 | 2300 | |
| 34509870 | vjudge5 | D | Jan. 24, 2018, 8:40 a.m. | OK | GNU C++ | TESTS | 151 | 46 | 19763200 | 2300 | |
| 30801084 | vjudge2 | D | Sept. 28, 2017, 10:14 a.m. | OK | GNU C++11 | TESTS | 151 | 46 | 1638400 | 2300 | |
| 31118262 | kokosha | D | Oct. 7, 2017, 2:23 p.m. | OK | GNU C++11 | TESTS | 151 | 46 | 1740800 | 2300 | |
| 30821888 | BBuf | D | Sept. 29, 2017, 6:52 a.m. | OK | GNU C++11 | TESTS | 151 | 46 | 1740800 | 2300 | |
| 34911668 | suzie_lin | D | Feb. 4, 2018, 1:16 a.m. | OK | GNU C++11 | TESTS | 151 | 46 | 3481600 | 2300 | |
| 31526736 | RNS_MHB | D | Oct. 20, 2017, 8:10 a.m. | OK | GNU C++11 | TESTS | 151 | 46 | 3686400 | 2300 | |
| 30529645 | abistrigova | D | Sept. 19, 2017, 9:21 p.m. | OK | GNU C++11 | TESTS | 151 | 46 | 3993600 | 2300 | |
| 30473545 | eddy1021 | D | Sept. 18, 2017, 3:12 p.m. | OK | GNU C++11 | TESTS | 151 | 46 | 10035200 | 2300 | |
| 31706985 | Paul_Guderian | D | Oct. 25, 2017, 11:29 a.m. | OK | GNU C++11 | TESTS | 151 | 61 | 1433600 | 2300 | |
| 57926894 | luogu_bot4 | D | July 29, 2019, 7:25 a.m. | OK | GNU C++11 | TESTS | 151 | 61 | 1536000 | 2300 | |
| 30966161 | OmarKhaled_ | D | Oct. 3, 2017, 11:43 a.m. | OK | GNU C++11 | TESTS | 151 | 61 | 1536000 | 2300 | |
| 30958515 | suda1627405125 | D | Oct. 3, 2017, 5:21 a.m. | OK | GNU C++14 | TESTS | 151 | 15 | 2560000 | 2300 | |
| 34661049 | Robbinb1993 | D | Jan. 29, 2018, 12:32 p.m. | OK | GNU C++14 | TESTS | 151 | 15 | 3481600 | 2300 | |
| 34660893 | Robbinb1993 | D | Jan. 29, 2018, 12:28 p.m. | OK | GNU C++14 | TESTS | 151 | 30 | 2662400 | 2300 | |
| 40980095 | ReaLNero1 | D | July 30, 2018, 5:22 p.m. | OK | GNU C++14 | TESTS | 151 | 31 | 2560000 | 2300 | |
| 34660638 | Robbinb1993 | D | Jan. 29, 2018, 12:18 p.m. | OK | GNU C++14 | TESTS | 151 | 46 | 3481600 | 2300 | |
| 30485287 | glebushka98 | D | Sept. 18, 2017, 10:30 p.m. | OK | GNU C++14 | TESTS | 151 | 62 | 819200 | 2300 | |
| 30485275 | glebushka98 | D | Sept. 18, 2017, 10:26 p.m. | OK | GNU C++14 | TESTS | 151 | 62 | 819200 | 2300 | |
| 46058043 | iaojnh | D | Nov. 22, 2018, 11:57 a.m. | OK | GNU C++14 | TESTS | 151 | 62 | 1638400 | 2300 | |
| 31991998 | vaibhav138 sarkysaurabh satylogin | D | Nov. 2, 2017, 8:17 p.m. | OK | GNU C++14 | TESTS | 151 | 62 | 1638400 | 2300 | |
| 30612924 | HIT_TOM | D | Sept. 22, 2017, 11:37 a.m. | OK | GNU C++14 | TESTS | 151 | 62 | 1740800 | 2300 | |
| 66810360 | segmentfault | D | Dec. 14, 2019, 1:44 a.m. | OK | GNU C++17 | TESTS | 151 | 78 | 1638400 | 2300 | |
| 60526667 | chuducanhchy | D | Sept. 14, 2019, 10:40 a.m. | OK | GNU C++17 | TESTS | 151 | 78 | 1638400 | 2300 | |
| 59383130 | jyf111 | D | Aug. 24, 2019, 4:47 a.m. | OK | GNU C++17 | TESTS | 151 | 78 | 1638400 | 2300 | |
| 57632369 | luogu_bot1 | D | July 24, 2019, 9:13 a.m. | OK | GNU C++17 | TESTS | 151 | 78 | 1638400 | 2300 | |
| 54481451 | MetB | D | May 22, 2019, 11:14 a.m. | OK | GNU C++17 | TESTS | 151 | 78 | 1638400 | 2300 | |
| 51264011 | AtillaAk | D | March 13, 2019, 2:39 p.m. | OK | GNU C++17 | TESTS | 151 | 78 | 1638400 | 2300 | |
| 50542624 | GabrielPessoa | D | Feb. 26, 2019, 7:02 p.m. | OK | GNU C++17 | TESTS | 151 | 78 | 2457600 | 2300 | |
| 41895992 | congmingyige | D | Aug. 20, 2018, 9:29 a.m. | OK | GNU C++17 | TESTS | 151 | 78 | 2457600 | 2300 | |
| 67783453 | NextB | D | Dec. 28, 2019, 11:50 a.m. | OK | GNU C++17 | TESTS | 151 | 78 | 3174400 | 2300 | |
| 56155525 | Yzm007 | D | June 27, 2019, 10:01 a.m. | OK | GNU C++17 | TESTS | 151 | 78 | 3174400 | 2300 | |
| 66036736 | Shark_Eater | D | Nov. 30, 2019, 12:02 p.m. | OK | Java 11 | TESTS | 151 | 342 | 4198400 | 2300 | |
| 30532202 | antkhorin | D | Sept. 20, 2017, 1:35 a.m. | OK | Java 8 | TESTS | 151 | 124 | 0 | 2300 | |
| 30493780 | svxf | D | Sept. 19, 2017, 10:31 a.m. | OK | Java 8 | TESTS | 151 | 171 | 11571200 | 2300 | |
| 30653057 | FernandaODD | D | Sept. 23, 2017, 8:24 p.m. | OK | Java 8 | TESTS | 151 | 187 | 13209600 | 2300 | |
| 30490640 | yusufsholeh | D | Sept. 19, 2017, 7:32 a.m. | OK | Java 8 | TESTS | 151 | 233 | 13516800 | 2300 | |
| 30474904 | uwi | D | Sept. 18, 2017, 3:33 p.m. | OK | Java 8 | TESTS | 151 | 233 | 27340800 | 2300 | |
| 30806914 | kunalk | D | Sept. 28, 2017, 1:58 p.m. | OK | Java 8 | TESTS | 151 | 342 | 37376000 | 2300 | |
| 42831557 | Andrew_ | D | Sept. 13, 2018, 1:11 p.m. | OK | Java 8 | TESTS | 151 | 374 | 32563200 | 2300 | |
| 30488680 | 4mda4mda | D | Sept. 19, 2017, 5:25 a.m. | OK | Java 8 | TESTS | 151 | 389 | 19968000 | 2300 | |
| 30540007 | vovacomua | D | Sept. 20, 2017, 9:34 a.m. | OK | Java 8 | TESTS | 151 | 483 | 29388800 | 2300 | |
| 30480607 | dalex | D | Sept. 18, 2017, 5:27 p.m. | OK | Java 8 | TESTS | 151 | 529 | 21504000 | 2300 | |
| 31229090 | gerind | D | Oct. 11, 2017, 11:20 p.m. | OK | MS C++ | TESTS | 151 | 62 | 2764800 | 2300 | |
| 30478596 | tae826 rkm0959 GGOSinon | D | Sept. 18, 2017, 4:41 p.m. | OK | MS C++ | TESTS | 151 | 62 | 3891200 | 2300 | |
| 30478260 | lucyanna2018 | D | Sept. 18, 2017, 4:35 p.m. | OK | MS C++ | TESTS | 151 | 62 | 5529600 | 2300 | |
| 30517553 | Maffka | D | Sept. 19, 2017, 4:30 p.m. | OK | MS C++ | TESTS | 151 | 78 | 6758400 | 2300 | |
| 30623737 | Ne0n | D | Sept. 22, 2017, 7:05 p.m. | OK | MS C++ | TESTS | 151 | 202 | 4812800 | 2300 | |
| 43866480 | nik1998 | D | Oct. 5, 2018, 6:17 p.m. | OK | MS C++ | TESTS | 151 | 280 | 139571200 | 2300 | |
| 30484281 | AleksanderBalobanov | D | Sept. 18, 2017, 8:33 p.m. | OK | MS C++ | TESTS | 151 | 327 | 50176000 | 2300 | |
| 30989869 | SSW | D | Oct. 4, 2017, 10:50 a.m. | OK | MS C++ | TESTS | 151 | 358 | 7987200 | 2300 | |
| 30788083 | miha715lev | D | Sept. 27, 2017, 7:48 p.m. | OK | MS C++ | TESTS | 151 | 1903 | 2560000 | 2300 | |
| 50481603 | TrickmanOff | D | Feb. 25, 2019, 9:18 a.m. | OK | MS C++ 2017 | TESTS | 151 | 499 | 7372800 | 2300 | |
| 33251498 | vjudge1 | D | Dec. 14, 2017, 10:26 p.m. | OK | PyPy 3 | TESTS | 151 | 592 | 42905600 | 2300 | |
| 30537580 | SIackbot | D | Sept. 20, 2017, 7:41 a.m. | OK | PyPy 3 | TESTS | 151 | 1341 | 20787200 | 2300 | |
| 43219877 | overlordin777 | D | Sept. 21, 2018, 6:35 p.m. | OK | PyPy 3 | TESTS | 151 | 1372 | 29081600 | 2300 | |
| 39861069 | Ali_Pi | D | July 2, 2018, 7:56 a.m. | OK | Python 2 | TESTS | 151 | 764 | 12083200 | 2300 | |
| 67207282 | GTrigger | D | Dec. 19, 2019, 12:52 p.m. | OK | Python 3 | TESTS | 151 | 420 | 16691200 | 2300 | |
| 67271492 | GTrigger | D | Dec. 20, 2019, 8:30 a.m. | OK | Python 3 | TESTS | 151 | 436 | 16691200 | 2300 | |
| 67271323 | GTrigger | D | Dec. 20, 2019, 8:25 a.m. | OK | Python 3 | TESTS | 151 | 436 | 16691200 | 2300 |
Back to search problems