D-Function
1985G1600· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
60 1 40 2 71 2 11 2 3582 74663 30 3 1
Output
239012974995667999
58%
1985G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
60 1 40 2 71 2 11 2 3582 74663 30 3 1
239012974995667999