Last time I will solve similar problems from today.
#17 ** Thoughts ** ABC064-A Just judge multiples
r, g, b =map(str,input().split())
n = int(r+g+b)
if n % 4 == 0:
print('YES')
else:
print('NO')
ABC088-A I'm thinking about whether I can pay the remainder of dividing n by 500 with a 1-yen coin.
n = int(input())
a = int(input())
m = n % 500
if m <= a:
print('Yes')
else:
print('No')
ABC082-A Rounding up in math.ceil
import math
a, b = map(int,input().split())
print(math.ceil((a+b)/2))
From tomorrow, I want to increase the amount of problems that can be solved at once. see you
Recommended Posts