結果

問題 No.1250 汝は倍数なりや?
ユーザー matrie
提出日時 2020-12-10 23:31:45
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 115 bytes
コンパイル時間 238 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 36,632 KB
最終ジャッジ日時 2024-09-19 20:50:01
合計ジャッジ時間 4,362 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 30 TLE * 1 -- * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

n,h=map(int,input().split())
l=list(map(int,input().split()))
x=1
for i in l: x*=i
print("YES" if x%h==0 else "NO")
0