はじめに
前回
今日から類題を解きます。
#17
考えたこと
ABC064-A
倍数判定するだけ
r,g,b=map(str,input().split())n=int(r+g+b)ifn%4==0:print('YES')else:print('NO')
ABC088-A
nを500で割った余りを1円玉で払えるかを考えています
n=int(input())a=int(input())m=n%500ifm<=a:print('Yes')else:print('No')
ABC082-A
math.ceilで切り上げ処理を行っています
importmatha,b=map(int,input().split())print(math.ceil((a+b)/2))
まとめ
明日からは一度に解く問題の量を増やしたい。
では、また