String Problem
33B1800· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
uayduxxd3a x 8x y 13d c 3
Output
21uxyd
Sample 2of 3
Input
ab3a b 2a b 3b a 5
Output
2b
Sample 3of 3
Input
abcab6a b 4a b 7b a 8c b 11c a 3a c 0
Output
-1
58%
33B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…