Doorway
2181D2000· candidate master3s1024 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
22 2 11 3 23 4 12 1 1 2
Output
4
Sample 2of 2
Input
22 0 7 2 41 4 9 4
Output
0
58%
2181D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
22 2 11 3 23 4 12 1 1 2
4
22 0 7 2 41 4 9 4
0