Cyclical Quest
235C2700· international gm3s512 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
baabaabaaa5ababaaaabaaaaba
Output
75735
Sample 2of 2
Input
aabbaa3aaaabbabba
Output
233
58%
235C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)