String Reconstruction
827A1700· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
3a 4 1 3 5 7ab 2 1 5ca 1 4
Output
abacaba
Sample 2of 3
Input
1a 1 3
Output
aaa
Sample 3of 3
Input
3ab 1 1aba 1 3ab 2 3 5
Output
ababab
58%
827A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)