commit
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
length, n = map(int, input().split(" "))
|
||||
|
||||
ans = max(2 * n - length - 1, 0)
|
||||
print(ans)
|
||||
Reference in New Issue
Block a user
@@ -0,0 +1,4 @@
|
||||
length, n = map(int, input().split(" "))
|
||||
|
||||
ans = max(2 * n - length - 1, 0)
|
||||
print(ans)
|
||||