cf/mirror

Attraction Theory

CF
2150D2700· international gm2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
7
1
1
2
5 10
3
1 1 1
4
1 1 1 1
4
10 2 9 7
5
1000000000 1000000000 1000000000 1000000000 1000000000
8
100 2 34 59 34 27 5 6
Output
1
45
24
72
480
333572930
69365
2150D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)