結果

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

ソースコード

diff #

a, c = map(int, input().split())

b = list(map(int, input().split()))

turn = 0

for i in b:
    if i == 0: continue
    turn += (i / c)

if turn % 2 == 0:
    print("NO")
else:
    print("YES")
0