Parquet
26C2000· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
2 6 2 2 1
Output
aabccaaabdda
Sample 2of 3
Input
1 1 100 100 100
Output
IMPOSSIBLE
Sample 3of 3
Input
4 4 10 10 10
Output
aabbaabbbbaabbaa
58%
26C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)