Two Arrays
2113F2500· grandmaster2s512 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
351 2 4 4 41 3 3 5 272 2 4 4 5 5 51 3 3 2 1 6 6712 3 3 4 5 6 41 2 13 8 10 13 7
Output
91 3 4 5 21 2 3 4 4122 3 4 2 1 5 61 2 3 4 5 6 51412 3 13 8 10 6 41 2 3 4 5 13 7
58%
2113F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…