A=B
Nincs elegendő értékelés
Portal Maze
   
Díjazás
Kedvenc
Kedvenc
Törlés
Címkék: level
Fájlméret:
Közzétéve:
1.516 MB
2022. ápr. 14., 15:39
1 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
Portal Maze

Leírás
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
Népszerű témák Összes megnézése (1)
6
2024. ápr. 25., 23:23
This problem is so great!
SoMall-dumpling
2 megjegyzés
garr890354839 szept. 22., 16:55 
Took me 121 lines to solve... how on EARTH is 30 possible?
ymfact 2022. ápr. 21., 8:50 
I did it!