結果

問題 No.1987 Sandglass Inconvenience
ユーザー dangodango
提出日時 2023-07-08 08:47:55
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 82 ms / 2,000 ms
コード長 140 bytes
コンパイル時間 302 ms
コンパイル使用メモリ 87,300 KB
実行使用メモリ 71,708 KB
最終ジャッジ日時 2023-09-29 10:03:52
合計ジャッジ時間 4,301 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,116 KB
testcase_01 AC 75 ms
71,368 KB
testcase_02 AC 76 ms
71,248 KB
testcase_03 AC 82 ms
71,480 KB
testcase_04 AC 76 ms
71,232 KB
testcase_05 AC 78 ms
71,428 KB
testcase_06 AC 78 ms
71,240 KB
testcase_07 AC 74 ms
71,564 KB
testcase_08 AC 75 ms
71,224 KB
testcase_09 AC 77 ms
71,324 KB
testcase_10 AC 76 ms
71,428 KB
testcase_11 AC 75 ms
71,116 KB
testcase_12 AC 76 ms
71,636 KB
testcase_13 AC 74 ms
71,484 KB
testcase_14 AC 75 ms
71,660 KB
testcase_15 AC 76 ms
71,392 KB
testcase_16 AC 74 ms
71,224 KB
testcase_17 AC 73 ms
71,480 KB
testcase_18 AC 73 ms
71,392 KB
testcase_19 AC 73 ms
71,708 KB
testcase_20 AC 76 ms
71,384 KB
testcase_21 AC 76 ms
71,176 KB
testcase_22 AC 75 ms
71,656 KB
testcase_23 AC 77 ms
71,308 KB
testcase_24 AC 75 ms
71,576 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
a, b, c = map(int, input().split())
x = int(input())
if x % math.gcd(math.gcd(a, b), c) == 0:
  print("Yes")
else:
  print("No")
0