A=B
Zbyt mało ocen
Portal Maze
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Tagi: level
Rozmiar pliku
Zamieszczono
1.516 MB
14 kwietnia 2022 o 15:39
1 lista zmian ( zobacz )

Zasubskrybuj, aby pobrać
Portal Maze

Opis
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
Popularne dyskusje Zobacz wszystkie (1)
6
25 kwietnia 2024 o 23:23
This problem is so great!
SoMall-dumpling
Komentarzy: 2
garr890354839 22 września o 16:55 
Took me 121 lines to solve... how on EARTH is 30 possible?
ymfact 21 kwietnia 2022 o 8:50 
I did it!