Dividing Island
63D1900· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
3 4 2 2 35 8 3
Output
YESaaabbaabbbcbb..ccb..
Sample 2of 2
Input
3 2 1 4 41 2 3 4
Output
YESabbdcccd...d...d
58%
63D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)