Codeforces Heuristic Contest 001
2195H2400· grandmaster4s1024 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
212
Output
21 1 1 2 2 12 3 3 2 3 3121 1 1 2 2 12 2 3 2 3 11 3 1 4 2 32 4 3 4 3 31 5 1 6 2 52 6 3 6 3 54 1 4 2 5 15 2 6 2 6 14 3 4 4 5 35 4 6 4 6 34 5 4 6 5 55 6 6 6 6 5
58%
2195H.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)