Appleman and Tree
461B2000· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
30 00 1 1
Output
2
Sample 2of 3
Input
60 1 1 0 41 1 0 0 1 0
Output
1
Sample 3of 3
Input
100 1 2 1 4 4 4 0 80 0 0 1 0 1 1 0 0 1
Output
27
58%
461B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…