Game on Sum (Hard Version)
1628D22400· grandmaster3s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
73 3 22 1 106 3 106 4 10100 1 14 4 069 4 20
Output
65375000012500000026958557139049735962
58%
1628D2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)