0
0

More than 1 year has passed since last update.

paizaラーニング「池の周回 Python3編」

Posted at

https://paiza.jp/works/mondai/conditions_branch/conditions_branch__complex_step6
私の回答

n,k,t=[int(x) for x in input().split()]
if (k*t)%n==0:
    print("YES")
else:
    print("NO")

模範回答

n, k, t = [int(x) for x in input().split()]

if k * t % n == 0:
    print("YES")
else:
    print("NO")

今回は模範解答と私の回答がほぼ同じでした!!

0
0
0

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
0
0