結果

問題 No.669 対決!!! 飲み比べ
ユーザー brthyyjpbrthyyjp
提出日時 2021-03-28 10:34:28
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 68 ms / 2,000 ms
コード長 156 bytes
コンパイル時間 287 ms
コンパイル使用メモリ 87,116 KB
実行使用メモリ 71,528 KB
最終ジャッジ日時 2023-08-19 15:04:06
合計ジャッジ時間 3,541 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
71,116 KB
testcase_01 AC 63 ms
71,372 KB
testcase_02 AC 64 ms
71,140 KB
testcase_03 AC 62 ms
71,272 KB
testcase_04 AC 63 ms
71,176 KB
testcase_05 AC 68 ms
71,376 KB
testcase_06 AC 65 ms
71,484 KB
testcase_07 AC 62 ms
71,292 KB
testcase_08 AC 65 ms
71,088 KB
testcase_09 AC 63 ms
71,288 KB
testcase_10 AC 61 ms
71,280 KB
testcase_11 AC 61 ms
71,500 KB
testcase_12 AC 61 ms
71,292 KB
testcase_13 AC 63 ms
71,528 KB
testcase_14 AC 65 ms
71,488 KB
testcase_15 AC 61 ms
71,168 KB
testcase_16 AC 61 ms
71,268 KB
testcase_17 AC 62 ms
71,384 KB
testcase_18 AC 65 ms
71,472 KB
testcase_19 AC 62 ms
71,488 KB
testcase_20 AC 64 ms
71,156 KB
testcase_21 AC 64 ms
71,176 KB
testcase_22 AC 65 ms
71,368 KB
testcase_23 AC 64 ms
71,368 KB
testcase_24 AC 61 ms
71,196 KB
testcase_25 AC 61 ms
71,172 KB
testcase_26 AC 63 ms
71,284 KB
testcase_27 AC 63 ms
71,272 KB
testcase_28 AC 60 ms
71,228 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n, k = map(int, input().split())
A = list(map(int, input().split()))
t = 0
for a in A:
    t ^= (a%(k+1))
if t == 0:
    print('NO')
else:
    print('YES')
0