結果

問題 No.669 対決!!! 飲み比べ
ユーザー KoshStorm
提出日時 2018-03-23 23:37:59
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 188 bytes
コンパイル時間 114 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-06-24 22:59:32
合計ジャッジ時間 1,945 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 22 WA * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

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

flg = 0
for i in range(N):
	if A[i] % (K+1) != 0:
		flg = 1
		break

if flg == 0:
	print("NO")
else:
	print("YES")
0