Insane Problem
2044E1300· pupil2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
52 2 6 2 122 1 1000000000 1 10000000003 5 7 15 631000000000 1 5 6 100000000015 17 78 2596 20914861
Output
12199999998761197
58%
2044E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)