Sereja and Suffixes
368B1100· newbie1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
10 101 2 3 4 1 2 3 4 100000 9999912345678910
Output
6666654321
58%
368B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
10 101 2 3 4 1 2 3 4 100000 9999912345678910
6666654321