commit
This commit is contained in:
commit
8582780ac9
38 files changed
+460
No files matched your search
@@ -0,0 +1 @@
|
||||
5 2
|
||||
@@ -0,0 +1 @@
|
||||
5 4
|
||||
@@ -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