Petya and Post
66E2000· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
41 7 2 38 1 1 3
Output
22 4
Sample 2of 2
Input
81 2 1 2 1 2 1 22 1 2 1 2 1 2 1
Output
81 2 3 4 5 6 7 8
58%
66E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)