結果

問題 No.669 対決!!! 飲み比べ
ユーザー Navier_BoltzmannNavier_Boltzmann
提出日時 2022-10-14 04:32:45
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 294 bytes
コンパイル時間 376 ms
コンパイル使用メモリ 86,808 KB
実行使用メモリ 73,020 KB
最終ジャッジ日時 2023-09-08 19:26:11
合計ジャッジ時間 4,717 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 105 ms
72,692 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 104 ms
72,760 KB
testcase_06 AC 102 ms
72,900 KB
testcase_07 AC 101 ms
72,980 KB
testcase_08 AC 101 ms
72,828 KB
testcase_09 WA -
testcase_10 AC 103 ms
72,900 KB
testcase_11 AC 103 ms
72,688 KB
testcase_12 AC 103 ms
72,916 KB
testcase_13 AC 101 ms
73,020 KB
testcase_14 AC 103 ms
73,016 KB
testcase_15 AC 104 ms
72,696 KB
testcase_16 AC 105 ms
72,740 KB
testcase_17 AC 100 ms
72,756 KB
testcase_18 AC 103 ms
72,740 KB
testcase_19 AC 103 ms
72,616 KB
testcase_20 AC 104 ms
72,900 KB
testcase_21 AC 102 ms
72,616 KB
testcase_22 AC 104 ms
72,732 KB
testcase_23 AC 103 ms
72,904 KB
testcase_24 AC 103 ms
72,848 KB
testcase_25 AC 102 ms
72,640 KB
testcase_26 AC 102 ms
72,832 KB
testcase_27 AC 102 ms
72,868 KB
testcase_28 AC 102 ms
72,904 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import *
from itertools import *
from functools import *
from heapq import *
import sys,math
input = sys.stdin.readline


N,K = map(int,input().split())
A = list(map(int,input().split()))
ans = 0
for a in A:
    
    ans ^= (a%K)

if ans:
    print('YES')
else:
    print('NO')
0