結果

問題 No.669 対決!!! 飲み比べ
ユーザー convexineqconvexineq
提出日時 2021-03-11 19:09:09
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 122 bytes
コンパイル時間 361 ms
コンパイル使用メモリ 82,520 KB
実行使用メモリ 54,292 KB
最終ジャッジ日時 2024-04-21 08:04:58
合計ジャッジ時間 3,058 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 52 ms
52,892 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 49 ms
53,012 KB
testcase_06 AC 46 ms
51,876 KB
testcase_07 AC 48 ms
52,328 KB
testcase_08 AC 46 ms
52,872 KB
testcase_09 WA -
testcase_10 AC 51 ms
52,876 KB
testcase_11 AC 43 ms
51,676 KB
testcase_12 AC 50 ms
52,080 KB
testcase_13 AC 48 ms
51,824 KB
testcase_14 AC 46 ms
53,028 KB
testcase_15 AC 47 ms
53,576 KB
testcase_16 AC 48 ms
52,328 KB
testcase_17 AC 46 ms
53,096 KB
testcase_18 AC 46 ms
53,496 KB
testcase_19 AC 45 ms
52,332 KB
testcase_20 AC 46 ms
52,484 KB
testcase_21 AC 46 ms
52,996 KB
testcase_22 AC 47 ms
52,136 KB
testcase_23 AC 48 ms
54,004 KB
testcase_24 AC 46 ms
54,044 KB
testcase_25 AC 46 ms
53,112 KB
testcase_26 AC 46 ms
52,952 KB
testcase_27 AC 47 ms
52,372 KB
testcase_28 AC 47 ms
53,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,k = map(int,input().split())
*a, = map(int,input().split())
g = 0
for ai in a:
    g ^= ai%k
print("YES" if g else "NO")
0