Skip to content

Commit 2aedf37

Browse files
松尾祐飛松尾祐飛
松尾祐飛
authored and
松尾祐飛
committed
ARC041
1 parent 739c6a5 commit 2aedf37

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ARC/ARC041/A.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
x, y = map(int, input().split())
2+
k = int(input())
3+
4+
print(x + min(y, k) + min(0, y-k))

0 commit comments

Comments
 (0)