結果
| 問題 | No.1250 汝は倍数なりや? | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2020-12-10 23:53:39 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 185 ms / 1,000 ms | 
| コード長 | 145 bytes | 
| コンパイル時間 | 92 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 31,404 KB | 
| 最終ジャッジ日時 | 2024-09-19 20:51:49 | 
| 合計ジャッジ時間 | 4,250 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| 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)
