Rudolf and Subway
1941G2000· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2multi-test • hover to link
Input
56 61 2 12 3 15 2 22 4 24 6 23 6 31 36 61 2 12 3 15 2 22 4 24 6 23 6 31 66 61 2 12 3 15 2 22 4 24 6 23 6 36 64 31 2 11 3 14 1 12 36 71 2 431 3 344 6 436 3 432 3 435 3 434 5 431 6
Output
12011
Sample 2of 2multi-test • hover to link
Input
37 92 4 13 6 12 3 51 7 14 7 12 5 45 4 43 4 13 7 15 36 56 5 836914 1 836915 4 836913 2 836914 3 836915 16 76 1 836916 2 836912 5 836915 6 836912 3 836915 4 835743 5 836911 4
Output
212
58%
1941G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…