Numerical Sequence (hard version)
1216E22200· master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
513203856
Output
12520
Sample 2of 2
Input
421325069999999999999999991000000000000000000
Output
8241
58%
1216E2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)