結果

問題 No.1250 汝は倍数なりや?
ユーザー 👑 KazunKazun
提出日時 2020-08-04 20:47:59
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 141 bytes
コンパイル時間 492 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 107,520 KB
最終ジャッジ日時 2024-10-15 06:37:02
合計ジャッジ時間 4,400 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 29 WA * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

N,H=map(int,input().split())
A=list(map(int,input().split()))

F=0
for a in A:
    F|=(a%H==0)

if F:
    print("YES")
else:
    print("NO")
0