結果

問題 No.669 対決!!! 飲み比べ
ユーザー roarisroaris
提出日時 2020-11-26 10:47:10
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 190 bytes
コンパイル時間 281 ms
コンパイル使用メモリ 87,232 KB
実行使用メモリ 71,620 KB
最終ジャッジ日時 2023-10-01 03:16:25
合計ジャッジ時間 3,687 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 69 ms
71,216 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 68 ms
71,400 KB
testcase_06 AC 67 ms
71,284 KB
testcase_07 AC 70 ms
71,520 KB
testcase_08 AC 69 ms
71,284 KB
testcase_09 WA -
testcase_10 AC 71 ms
71,196 KB
testcase_11 AC 69 ms
71,200 KB
testcase_12 AC 68 ms
71,152 KB
testcase_13 AC 68 ms
71,244 KB
testcase_14 AC 67 ms
71,316 KB
testcase_15 AC 67 ms
71,288 KB
testcase_16 AC 67 ms
71,200 KB
testcase_17 AC 66 ms
71,056 KB
testcase_18 AC 69 ms
71,064 KB
testcase_19 AC 67 ms
71,548 KB
testcase_20 AC 68 ms
71,284 KB
testcase_21 AC 70 ms
71,060 KB
testcase_22 AC 69 ms
71,248 KB
testcase_23 AC 67 ms
71,216 KB
testcase_24 AC 68 ms
71,476 KB
testcase_25 AC 69 ms
71,224 KB
testcase_26 AC 68 ms
71,292 KB
testcase_27 AC 66 ms
71,556 KB
testcase_28 AC 68 ms
71,204 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline

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

for Ai in A:
    G ^= Ai%K

if G!=0:
    print('YES')
else:
    print('NO')
0