結果
| 問題 |
No.2811 Calculation Within Sequence
|
| コンテスト | |
| ユーザー |
ニックネーム
|
| 提出日時 | 2024-07-19 21:37:22 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 193 ms / 2,000 ms |
| コード長 | 155 bytes |
| コンパイル時間 | 102 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 33,272 KB |
| 最終ジャッジ日時 | 2024-07-19 21:37:37 |
| 合計ジャッジ時間 | 7,559 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 41 |
ソースコード
from math import gcd
a,b = map(int,input().split())
d = gcd(*map(int,input().split()))
print("No" if any(v%d for v in map(int,input().split())) else "Yes")
ニックネーム