結果
| 問題 | No.669 対決!!! 飲み比べ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-01-03 09:04:33 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 184 bytes |
| 記録 | |
| コンパイル時間 | 292 ms |
| コンパイル使用メモリ | 85,120 KB |
| 実行使用メモリ | 52,096 KB |
| 最終ジャッジ日時 | 2026-05-21 08:36:44 |
| 合計ジャッジ時間 | 3,144 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 20 WA * 5 |
ソースコード
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")