cf/mirror

Smallest Word

CF
1043C1500· specialist1s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
bbab
Output
0 1 1 0
Sample 2of 2
Input
aaaaa
Output
1 0 0 0 1
1043C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)