結果
| 問題 |
No.1987 Sandglass Inconvenience
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-06-24 21:22:39 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 42 ms / 2,000 ms |
| コード長 | 150 bytes |
| コンパイル時間 | 205 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 52,224 KB |
| 最終ジャッジ日時 | 2024-11-08 17:05:53 |
| 合計ジャッジ時間 | 2,095 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
from math import gcd
a, b, c = map(int, input().split())
g = gcd(a, gcd(b, c))
x = int(input())
if x % g == 0:
print("Yes")
else:
print("No")