cf/mirror

Subset Multiplication

CF
2124C1300· pupil3s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
4
2
2 4
3
1 1000000000 500000000
4
4 8 4 8
7
42 42 14 84 28 73080 255780
Output
343
2
4
6
2124C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)