結果

問題 No.1987 Sandglass Inconvenience
ユーザー prussian_coderprussian_coder
提出日時 2022-06-24 22:18:00
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 75 ms / 2,000 ms
コード長 135 bytes
コンパイル時間 339 ms
コンパイル使用メモリ 86,784 KB
実行使用メモリ 71,708 KB
最終ジャッジ日時 2023-08-08 12:30:46
合計ジャッジ時間 3,216 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,248 KB
testcase_01 AC 71 ms
71,172 KB
testcase_02 AC 70 ms
71,360 KB
testcase_03 AC 71 ms
71,396 KB
testcase_04 AC 71 ms
71,424 KB
testcase_05 AC 72 ms
71,540 KB
testcase_06 AC 72 ms
71,500 KB
testcase_07 AC 73 ms
71,244 KB
testcase_08 AC 73 ms
71,204 KB
testcase_09 AC 72 ms
71,052 KB
testcase_10 AC 74 ms
71,660 KB
testcase_11 AC 75 ms
71,200 KB
testcase_12 AC 73 ms
71,588 KB
testcase_13 AC 72 ms
71,672 KB
testcase_14 AC 70 ms
71,292 KB
testcase_15 AC 72 ms
71,200 KB
testcase_16 AC 72 ms
71,708 KB
testcase_17 AC 72 ms
71,344 KB
testcase_18 AC 71 ms
71,376 KB
testcase_19 AC 73 ms
71,276 KB
testcase_20 AC 72 ms
71,292 KB
testcase_21 AC 71 ms
71,620 KB
testcase_22 AC 72 ms
71,340 KB
testcase_23 AC 73 ms
71,640 KB
testcase_24 AC 73 ms
71,464 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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