본문 바로가기
python-algorithm

[백준] 19563

by 무적김두칠 2021. 1. 19.

1
2
3
4
5
6
7
8
a,b,c=map(int,input().split())
a=abs(a)
b=abs(b)
if a+b<=c:
    if (a+b)%2==0 and c%2==0 : print("YES")
    elif (a+b)%2==1 and c%2==1  :print("YES")
    elseprint("NO")
elseprint("NO")
cs
반응형

'python-algorithm' 카테고리의 다른 글

[백준] 19945  (0) 2021.01.19
[백준] 19843  (0) 2021.01.19
[백준] 19532  (0) 2021.01.19
[백준] 18795  (0) 2021.01.19
[백준] 18406  (0) 2021.01.19

댓글