CF 487A - Fight the Monster

Codeforces 487A: Fight the Monster

CF 487A - Fight the Monster

Rating: 1800
Tags: binary search, brute force, implementation
Solve time: 5m 21s
Verified: no

Solution