Yet Another MEX Problem
2146E2300· international master2s512 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
61052 0 3 0 160 1 2 3 5 470 2 2 0 4 1 382 1 0 3 0 2 1 3150 1 9 1 0 2 5 3 7 0 4 15 2 0 1
Output
01 1 2 2 10 1 2 3 4 50 1 2 2 3 2 31 2 0 1 1 2 2 30 1 2 3 1 1 2 3 4 4 5 6 7 7 3
58%
2146E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)