Sets of Complementary Sums
2125E2500· grandmaster2s1024 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
51 72 53 1027 314151000 999
Output
710346050890680
58%
2125E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
51 72 53 1027 314151000 999
710346050890680