結果

問題 No.1987 Sandglass Inconvenience
ユーザー MasKoaTSMasKoaTS
提出日時 2022-06-24 23:35:28
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 72 ms / 2,000 ms
コード長 142 bytes
コンパイル時間 1,194 ms
コンパイル使用メモリ 87,300 KB
実行使用メモリ 71,740 KB
最終ジャッジ日時 2023-08-08 13:25:31
合計ジャッジ時間 3,418 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,264 KB
testcase_01 AC 70 ms
71,520 KB
testcase_02 AC 72 ms
71,420 KB
testcase_03 AC 69 ms
71,244 KB
testcase_04 AC 70 ms
71,396 KB
testcase_05 AC 69 ms
71,572 KB
testcase_06 AC 68 ms
71,636 KB
testcase_07 AC 67 ms
71,740 KB
testcase_08 AC 69 ms
71,392 KB
testcase_09 AC 66 ms
71,200 KB
testcase_10 AC 69 ms
71,476 KB
testcase_11 AC 68 ms
71,480 KB
testcase_12 AC 66 ms
71,680 KB
testcase_13 AC 69 ms
71,496 KB
testcase_14 AC 68 ms
71,512 KB
testcase_15 AC 68 ms
71,400 KB
testcase_16 AC 69 ms
71,396 KB
testcase_17 AC 69 ms
71,444 KB
testcase_18 AC 69 ms
71,560 KB
testcase_19 AC 69 ms
71,524 KB
testcase_20 AC 66 ms
71,480 KB
testcase_21 AC 69 ms
71,396 KB
testcase_22 AC 69 ms
71,560 KB
testcase_23 AC 68 ms
71,208 KB
testcase_24 AC 67 ms
71,248 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import gcd

a, b, c = map(int, input().split())
x = int(input())

if(x % gcd(a, b, c) == 0):
    print("Yes")
else:
    print("No")
0