1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

はじめに

前回
今日から類題を解きます。

#17

考えたこと
ABC064-A
倍数判定するだけ

r, g, b =map(str,input().split())

n = int(r+g+b)
if n % 4 == 0:
    print('YES')
else:
    print('NO')

ABC088-A
nを500で割った余りを1円玉で払えるかを考えています

n = int(input())
a = int(input())

m = n % 500
if m <= a:
    print('Yes')
else:
    print('No')

ABC082-A
math.ceilで切り上げ処理を行っています

import math
a, b = map(int,input().split())
print(math.ceil((a+b)/2))

まとめ

明日からは一度に解く問題の量を増やしたい。
では、また

1
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?