cf/mirror

Dividing Island

CF
63D1900· candidate master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
3 4 2 2 3
5 8 3
Output
YES
aaabb
aabbb
cbb..
ccb..
Sample 2of 2
Input
3 2 1 4 4
1 2 3 4
Output
YES
abbd
cccd
...d
...d
63D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)