A=B
Nedostatek hodnocení
Portal Maze
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Značky: level
Velikost souboru
Přidáno
1.516 MB
14. dub. 2022 v 15.39
Poznámky ke změnám (1) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Portal Maze

Popis
Input: A string of the maze including
> exactly one "a" as your start;
> exactly one "b" as the goal;
> "_"s as floors you can walk on;
> "|"s as walls you can't pass;
> "h"s as hammers that allow you to break one wall per hammer;
> "p"s as portals that allow you to teleport from one to another.
Output: Return true if you can reach the "b" after starting from the "a", else return false.
Constraint: Input length = 7
Populární diskuze Zobrazit vše (1)
6
25. dub. 2024 v 23.23
This problem is so great!
SoMall-dumpling
Počet komentářů: 2
garr890354839 22. zář. v 16.55 
Took me 121 lines to solve... how on EARTH is 30 possible?
ymfact 21. dub. 2022 v 8.50 
I did it!