April Fools Day Contest 2021

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
1505 April Fools Day Contest 2021 FINISHED False 7200 120065111 April 1, 2021, 2:35 p.m.

Problems

Solved$
Index
Name
Type
Tags
Community Tag
Rating
( 1817 ) E Cakewalk PROGRAMMING constructive algorithms greedy implementation shortest paths

B"A mouse encountered a nice big cake and decided to take a walk across it, eating the berries on top of the cake on its way. The cake is rectangular, neatly divided into squares; some of the squares have a berry in them, and some don't. The mouse is in a bit of a hurry, though, so once she enters the cake from its northwest corner (the top left cell in the input data), she will only go east (right) or south (down), until she reaches the southeast corner (the bottom right cell). She will eat every berry in the squares she passes through, but not in the other squares. The mouse tries to choose her path so as to maximize the number of berries consumed. However, her haste and hunger might be clouding her judgement, leading her to suboptimal decisions... The first line of input contains two integers H and W ( 1 <= H, W <= 5 ), separated by a space, -- the height and the width of the cake. The next H lines contain a string of W characters each, representing the squares of the cake in that row: '.' represents an empty square, and '*' represents a square with a berry. Output the number of berries the mouse will eat following her strategy. "...

Tutorials

tutorial

Submissions

Submission Id
Author(s)
Index
Submitted
Verdict
Language
Test Set
Tests Passed
Time taken (ms)
Memory Consumed (bytes)
Tags
Rating
111710597 Gassa E April 1, 2021, 3:57 p.m. OK D TESTS 15 30 0
111715787 soxsx E April 1, 2021, 4:12 p.m. OK GNU C11 TESTS 15 31 0
111746803 tomi06 E April 2, 2021, 1:01 a.m. OK GNU C++11 TESTS 15 15 0
111737910 66SAN E April 1, 2021, 7:39 p.m. OK GNU C++11 TESTS 15 15 0
111734116 Gornak40 E April 1, 2021, 6:35 p.m. OK GNU C++11 TESTS 15 15 0
111733878 mahatejvarma E April 1, 2021, 6:31 p.m. OK GNU C++11 TESTS 15 15 0
111731141 66SAN E April 1, 2021, 5:53 p.m. OK GNU C++11 TESTS 15 15 0
111729147 wretched E April 1, 2021, 5:27 p.m. OK GNU C++11 TESTS 15 15 0
111727737 pranshukas E April 1, 2021, 5:10 p.m. OK GNU C++11 TESTS 15 15 0
111727729 rbargallor E April 1, 2021, 5:10 p.m. OK GNU C++11 TESTS 15 15 0
111724732 Bogdan_feysa E April 1, 2021, 4:43 p.m. OK GNU C++11 TESTS 15 15 0
111756729 ljc1301 E April 2, 2021, 5:29 a.m. OK GNU C++11 TESTS 15 15 0
111729245 amrit7 E April 1, 2021, 5:28 p.m. OK GNU C++14 TESTS 15 15 0
111743421 cipher1104 E April 1, 2021, 10:14 p.m. OK GNU C++14 TESTS 15 15 0
111734915 Sachin357 E April 1, 2021, 6:48 p.m. OK GNU C++14 TESTS 15 15 0
111731255 Tarun_19 E April 1, 2021, 5:54 p.m. OK GNU C++14 TESTS 15 15 0
111730875 GudduPandit E April 1, 2021, 5:49 p.m. OK GNU C++14 TESTS 15 15 0
111728669 adarsh_sinhg E April 1, 2021, 5:21 p.m. OK GNU C++14 TESTS 15 15 0
111728563 cyber_penguin E April 1, 2021, 5:20 p.m. OK GNU C++14 TESTS 15 15 0
111725450 moondancer E April 1, 2021, 4:48 p.m. OK GNU C++14 TESTS 15 15 0
111724100 EvenX E April 1, 2021, 4:39 p.m. OK GNU C++14 TESTS 15 15 0
111721874 Esquire E April 1, 2021, 4:30 p.m. OK GNU C++14 TESTS 15 15 0
111752992 Ankit_132 E April 2, 2021, 4:13 a.m. OK GNU C++17 TESTS 15 15 0
111749375 vineeth_kada E April 2, 2021, 2:56 a.m. OK GNU C++17 TESTS 15 15 0
111746870 SazzadSowmik E April 2, 2021, 1:05 a.m. OK GNU C++17 TESTS 15 15 0
111739783 thehalfblo0dprince E April 1, 2021, 8:21 p.m. OK GNU C++17 TESTS 15 15 0
111738641 Anish1712 E April 1, 2021, 7:55 p.m. OK GNU C++17 TESTS 15 15 0
111737891 CPX99 E April 1, 2021, 7:39 p.m. OK GNU C++17 TESTS 15 15 0
111737566 Enigma27 E April 1, 2021, 7:33 p.m. OK GNU C++17 TESTS 15 15 0
111736252 Akib_2612 E April 1, 2021, 7:10 p.m. OK GNU C++17 TESTS 15 15 0
111732930 My_Soul_Loves_ALLAH E April 1, 2021, 6:18 p.m. OK GNU C++17 TESTS 15 15 0
111730499 rohitrks2003 E April 1, 2021, 5:44 p.m. OK GNU C++17 TESTS 15 15 0
111740656 wjli E April 1, 2021, 8:44 p.m. OK GNU C++17 (64) TESTS 15 15 0
111725236 sidhant_jain E April 1, 2021, 4:46 p.m. OK GNU C++17 (64) TESTS 15 15 0
111724031 Sergey140146659 E April 1, 2021, 4:38 p.m. OK GNU C++17 (64) TESTS 15 15 0
111722004 Hypersomniac E April 1, 2021, 4:30 p.m. OK GNU C++17 (64) TESTS 15 15 0
111720833 lewd E April 1, 2021, 4:27 p.m. OK GNU C++17 (64) TESTS 15 15 0
111717340 AnandOza E April 1, 2021, 4:16 p.m. OK GNU C++17 (64) TESTS 15 15 0
111716888 return--1 E April 1, 2021, 4:15 p.m. OK GNU C++17 (64) TESTS 15 15 0
111715988 m1trand1r E April 1, 2021, 4:12 p.m. OK GNU C++17 (64) TESTS 15 15 0
111715069 Somebody E April 1, 2021, 4:10 p.m. OK GNU C++17 (64) TESTS 15 15 0
111714753 Dankak0n E April 1, 2021, 4:09 p.m. OK GNU C++17 (64) TESTS 15 15 0
111744593 Gaurav__sharma E April 1, 2021, 11:12 p.m. OK Java 11 TESTS 15 171 0
111728241 sayaknandy E April 1, 2021, 5:16 p.m. OK Java 11 TESTS 15 171 0
111732082 shadow_4 E April 1, 2021, 6:06 p.m. OK Java 11 TESTS 15 186 0
111720225 moto_18 E April 1, 2021, 4:25 p.m. OK Java 11 TESTS 15 186 0
111752896 williamjwu3 E April 2, 2021, 4:11 a.m. OK Java 11 TESTS 15 202 0
111712964 Xiaoya213 E April 1, 2021, 4:04 p.m. OK Java 11 TESTS 15 202 0
111711456 Shirasawa E April 1, 2021, 3:59 p.m. OK Java 11 TESTS 15 217 0
111711057 danbanica E April 1, 2021, 3:58 p.m. OK Java 11 TESTS 15 218 0
111716925 mbfeci E April 1, 2021, 4:15 p.m. OK Java 11 TESTS 15 233 0
111753895 tharun.mokka564 E April 2, 2021, 4:34 a.m. OK Java 8 TESTS 15 108 0
111711657 martins E April 1, 2021, 4 p.m. OK Java 8 TESTS 15 124 0
111717146 flydzt E April 1, 2021, 4:15 p.m. OK Java 8 TESTS 15 139 0
111717257 brainfxxk E April 1, 2021, 4:16 p.m. OK Java 8 TESTS 15 140 0
111722157 N.Tesla E April 1, 2021, 4:31 p.m. OK Java 8 TESTS 15 140 0
111717893 DylanSmith E April 1, 2021, 4:17 p.m. OK Java 8 TESTS 15 140 0
111720527 Leksiq E April 1, 2021, 4:26 p.m. OK Java 8 TESTS 15 202 0
111720558 arvindf232 E April 1, 2021, 4:26 p.m. OK Kotlin TESTS 15 124 0
111720834 areniis E April 1, 2021, 4:27 p.m. OK Kotlin TESTS 15 139 0
111723057 NoiseLess E April 1, 2021, 4:33 p.m. OK MS C++ 2017 TESTS 15 15 0
111712938 Dmitrenko E April 1, 2021, 4:04 p.m. OK MS C++ 2017 TESTS 15 30 307200
111713007 Myao E April 1, 2021, 4:04 p.m. OK MS C++ 2017 TESTS 15 31 0
111741565 Ategro E April 1, 2021, 9:09 p.m. OK MS C++ 2017 TESTS 15 31 0
111722288 haminh0307 E April 1, 2021, 4:31 p.m. OK MS C++ 2017 TESTS 15 31 0
111712631 not_evans E April 1, 2021, 4:03 p.m. OK .NET Core C# TESTS 15 93 204800
111723116 michezio E April 1, 2021, 4:33 p.m. OK PyPy 3 TESTS 15 77 0
111734609 Genius3435 E April 1, 2021, 6:44 p.m. OK PyPy 3 TESTS 15 78 0
111711539 TML104 E April 1, 2021, 4 p.m. OK PyPy 3 TESTS 15 92 0
111735974 Minnakhmetov E April 1, 2021, 7:06 p.m. OK PyPy 3 TESTS 15 93 0
111727373 YMSeah E April 1, 2021, 5:06 p.m. OK PyPy 3 TESTS 15 93 0
111724866 silvertint E April 1, 2021, 4:44 p.m. OK PyPy 3 TESTS 15 93 0
111711239 eunho.ambition E April 1, 2021, 3:59 p.m. OK PyPy 3 TESTS 15 93 0
111710595 Ruturaj_Godse E April 1, 2021, 3:57 p.m. OK PyPy 3 TESTS 15 93 0
111709327 jaglike_makkar E April 1, 2021, 3:54 p.m. OK PyPy 3 TESTS 15 93 0
111741159 khanter_ E April 1, 2021, 8:58 p.m. OK PyPy 3 TESTS 15 108 0
111716737 creative_brain E April 1, 2021, 4:14 p.m. OK Python 3 TESTS 15 61 0
111710751 ColterCodes E April 1, 2021, 3:58 p.m. OK Python 3 TESTS 15 61 0
111740459 m7md_isk E April 1, 2021, 8:38 p.m. OK Python 3 TESTS 15 62 0
111722938 newbie00 E April 1, 2021, 4:33 p.m. OK Python 3 TESTS 15 62 0
111722034 himika E April 1, 2021, 4:30 p.m. OK Python 3 TESTS 15 62 0
111719436 r57shell E April 1, 2021, 4:23 p.m. OK Python 3 TESTS 15 62 0
111719015 crazyilian E April 1, 2021, 4:21 p.m. OK Python 3 TESTS 15 62 0
111717255 almasip E April 1, 2021, 4:16 p.m. OK Python 3 TESTS 15 62 0
111714737 ponnekantyg E April 1, 2021, 4:09 p.m. OK Python 3 TESTS 15 62 0
111708728 Arsen4ikVar E April 1, 2021, 3:52 p.m. OK Python 3 TESTS 15 62 0

remove filters

Back to search problems