cf/mirror

Getting Points

CF
1902B1100· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
5
1 5 5 2
14 3000000000 1000000000 500000000
100 20 1 10
8 120 10 20
42 280 13 37
Output
0
12
99
0
37
1902B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)