結果
| 問題 | No.1250 汝は倍数なりや? | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2025-04-01 21:10:16 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 117 ms / 1,000 ms | 
| コード長 | 119 bytes | 
| コンパイル時間 | 479 ms | 
| コンパイル使用メモリ | 82,052 KB | 
| 実行使用メモリ | 108,200 KB | 
| 最終ジャッジ日時 | 2025-04-01 21:10:22 | 
| 合計ジャッジ時間 | 6,340 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 49 | 
ソースコード
N,H=map(int,input().split())
a=1
for i in list(map(int,input().split())):
    a*=i
    a%=H
print("NO" if a else "YES")
            
            
            
        