Andrey and Escape from Capygrad
1859D1800· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
536 17 7 141 12 3 816 24 20 22610 2 23 15 28 1833 14 7 1016 24 20 221 16 3 1492 4 6 8 18 23 11 13 1521 4 2 33 9 6 734 8 1518 24 18 241 8 2 411 16 14 1426 32 28 305 10 6 8915 14 13 27 22 17 31 1 769 22 14 2011 26 13 2421 33 22 2321 33 25 321 6 3 418 29 20 21811 23 16 5 8 33 2 21
Output
14 14 23 15 28 2214 14 14 14 22 23 14 14 157 8 715 14 14 30 24 17 31 4 832 32 32 5 8 33 4 32
58%
1859D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…