cf/mirror

Billion Players Game

CF
2157D1600· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
4
1 1 5
3
2 100 100
50 200
5 1 10
5 7 3 9 1
5 6 10
9 3 1 7 5
Output
0
150
12
13
2157D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)