cf/mirror

Secret Box

CF
1985E1200· pupil1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
7
3 3 3 8
3 3 3 18
5 1 1 1
2 2 2 7
3 4 2 12
4 3 1 6
1800 1800 1800 4913000000
Output
8
2
5
0
4
4
1030301
1985E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)