Pathwalks
960F2100· master1s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
3 33 1 31 2 12 3 2
Output
2
Sample 2of 2
Input
5 51 3 23 2 33 4 55 4 04 5 8
Output
3
58%
960F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…
3 33 1 31 2 12 3 2
2
5 51 3 23 2 33 4 55 4 04 5 8
3