cf/mirror

Petya and Inequiations

CF
111A1400· specialist2s256 MB⌨ stdin/stdout
#greedy

Examples

Sample 1of 3
Input
5 15 15
Output
4
4
1
1
2
Sample 2of 3
Input
2 3 2
Output
-1
Sample 3of 3
Input
1 99 11
Output
11
111A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)