結果

問題 No.669 対決!!! 飲み比べ
ユーザー dice4084dice4084
提出日時 2023-01-03 09:04:33
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 184 bytes
コンパイル時間 1,763 ms
コンパイル使用メモリ 86,492 KB
実行使用メモリ 71,108 KB
最終ジャッジ日時 2023-08-18 00:11:57
合計ジャッジ時間 5,214 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 74 ms
71,052 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 75 ms
71,056 KB
testcase_06 AC 75 ms
70,904 KB
testcase_07 AC 74 ms
70,656 KB
testcase_08 AC 73 ms
70,808 KB
testcase_09 WA -
testcase_10 AC 76 ms
70,976 KB
testcase_11 AC 72 ms
70,892 KB
testcase_12 AC 74 ms
70,924 KB
testcase_13 AC 74 ms
70,968 KB
testcase_14 AC 74 ms
70,764 KB
testcase_15 AC 74 ms
71,092 KB
testcase_16 AC 74 ms
71,016 KB
testcase_17 AC 74 ms
70,924 KB
testcase_18 AC 75 ms
70,896 KB
testcase_19 AC 73 ms
71,004 KB
testcase_20 AC 74 ms
71,004 KB
testcase_21 AC 75 ms
70,604 KB
testcase_22 AC 74 ms
71,092 KB
testcase_23 AC 75 ms
71,064 KB
testcase_24 AC 74 ms
71,108 KB
testcase_25 AC 75 ms
70,920 KB
testcase_26 AC 75 ms
71,016 KB
testcase_27 AC 74 ms
70,824 KB
testcase_28 AC 76 ms
71,060 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

input = sys.stdin.readline

n, k = map(int, input().split())
a = list(map(int, input().split()))
xor = 0
for ai in a:
    xor ^= ai % k

print("NO" if xor == 0 else "YES")
0