結果

問題 No.669 対決!!! 飲み比べ
ユーザー 👑 rin204rin204
提出日時 2022-07-10 14:20:27
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 2,000 ms
コード長 163 bytes
コンパイル時間 358 ms
コンパイル使用メモリ 86,912 KB
実行使用メモリ 71,204 KB
最終ジャッジ日時 2023-08-31 01:16:49
合計ジャッジ時間 3,828 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
70,964 KB
testcase_01 AC 69 ms
71,112 KB
testcase_02 AC 69 ms
71,204 KB
testcase_03 AC 70 ms
70,944 KB
testcase_04 AC 70 ms
70,896 KB
testcase_05 AC 69 ms
71,128 KB
testcase_06 AC 70 ms
70,876 KB
testcase_07 AC 69 ms
71,040 KB
testcase_08 AC 71 ms
70,800 KB
testcase_09 AC 70 ms
71,116 KB
testcase_10 AC 68 ms
71,000 KB
testcase_11 AC 69 ms
70,996 KB
testcase_12 AC 70 ms
71,116 KB
testcase_13 AC 70 ms
70,872 KB
testcase_14 AC 69 ms
70,940 KB
testcase_15 AC 70 ms
71,084 KB
testcase_16 AC 69 ms
71,084 KB
testcase_17 AC 69 ms
70,988 KB
testcase_18 AC 68 ms
70,964 KB
testcase_19 AC 70 ms
71,160 KB
testcase_20 AC 71 ms
70,904 KB
testcase_21 AC 70 ms
70,988 KB
testcase_22 AC 70 ms
71,044 KB
testcase_23 AC 70 ms
71,044 KB
testcase_24 AC 70 ms
71,096 KB
testcase_25 AC 70 ms
71,092 KB
testcase_26 AC 71 ms
71,044 KB
testcase_27 AC 68 ms
70,668 KB
testcase_28 AC 69 ms
70,960 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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