Turtle and a MEX Problem (Easy Version)
2003D11500· specialist2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
63 42 0 23 2 3 34 7 0 1 53 45 0 2 0 4 111 15 1 3 0 3 32 502 1 22 1 21 17 1 2 4 1 4 9 54 1145142 2 25 7 3 6 0 33 0 1 15 0 9 2 1 55 19198101 22 324003 03 1416324 2 14607284 1312631 2 0 14151955 1223554 192248 2 1492515 725556
Output
16201281665567853651842836177961
58%
2003D1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)