結果
| 問題 | No.1250 汝は倍数なりや? |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-12-10 23:53:39 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 173 ms / 1,000 ms |
| コード長 | 145 bytes |
| 記録 | |
| コンパイル時間 | 340 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 34,844 KB |
| 最終ジャッジ日時 | 2026-04-08 09:34:16 |
| 合計ジャッジ時間 | 7,995 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 49 |
ソースコード
import math n,h=map(int,input().split()) l=list(map(int,input().split())) a="NO" for x in l: h//=math.gcd(h,x) if h==1: a="YES"; break print(a)