Magic Triples (Hard Version)
1822G22200· master4s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
751 7 7 2 736 2 1891 2 3 4 5 6 7 8 941000 993 986 17971 10 100 1000 10000 100000 100000081 1 2 2 4 4 8 891 1 1 2 2 2 4 4 4
Output
613091645
58%
1822G2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)