cf/mirror

Minimum Integer

CF
1101A1000· newbie1s256 MB⌨ stdin/stdout
#math

Examples

Sample 1of 1
Input
5
2 4 2
5 10 4
3 10 1
1 2 3
4 6 5
Output
6
4
1
3
10
1101A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)