|
|
back to boardWrong set of test Posted by g00d 22 Nov 2015 20:22 [n ,k] = [int(x) for x in input().split()] if n >= k: ans = 2 * n // k if 2*n%k > 0: ans += 1 print(ans) else: print(2) and [n ,k] = [int(x) for x in input().split()] if n >= k: ans = 2 * n // k if 2*n%k > 1: ans += 1 print(ans) else: print(2) Both is accepted. But second is worng. Need test: 5 3 |
|
|