結果
| 問題 | No.1987 Sandglass Inconvenience |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-07-21 16:50:18 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 96 ms / 2,000 ms |
| コード長 | 140 bytes |
| 記録 | |
| コンパイル時間 | 513 ms |
| コンパイル使用メモリ | 20,572 KB |
| 実行使用メモリ | 15,356 KB |
| 最終ジャッジ日時 | 2026-03-24 06:37:47 |
| 合計ジャッジ時間 | 3,868 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
import math
a, b, c=map(int,input().split(" "))
if int(input()) % math.gcd(math.gcd(a, b), c) == 0:
print("Yes")
else:
print("No")