結果
問題 | No.1987 Sandglass Inconvenience |
ユーザー |
👑 ![]() |
提出日時 | 2022-06-24 21:22:33 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 44 ms / 2,000 ms |
コード長 | 120 bytes |
コンパイル時間 | 440 ms |
コンパイル使用メモリ | 82,688 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-11-08 17:05:33 |
合計ジャッジ時間 | 2,244 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 |
ソースコード
from math import gcda,b,c=map(int,input().split())X=int(input())g=gcd(gcd(a,b),c)print("Yes" if X%g==0 else "No")