Spinning Round (Easy Version)
1987G12900· international gm7s1024 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
852 1 4 3 5?????21 2??33 1 2???75 3 1 6 4 2 7???????55 2 1 3 4?????66 2 3 4 5 1??????81 7 5 6 2 8 4 3????????126 10 7 1 8 5 12 2 11 3 4 9????????????
Output
41264558
58%
1987G1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…