Dreamoon Likes Sequences
1329B1700· expert1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
101 10000000002 9999999993 999999984 99999975 9999966 999957 99948 9939 9210 1
Output
1351117232959890
58%
1329B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)