Easy As ABC
1906A1000· newbie1s1024 MB⌨ stdin/stdout
Examples
Sample 1of 5
Input
BCBCACBCB
Output
ABC
Sample 2of 5
Input
BCBCCCCCA
Output
ACB
Sample 3of 5
Input
ACACBCACA
Output
ABA
Sample 4of 5
Input
ACACACACA
Output
AAA
Sample 5of 5
Input
CCCCBCCCC
Output
BCC
58%
1906A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)