結果
| 問題 | No.669 対決!!! 飲み比べ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-01-03 09:04:33 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 184 bytes |
| コンパイル時間 | 160 ms |
| コンパイル使用メモリ | 82,432 KB |
| 実行使用メモリ | 52,492 KB |
| 最終ジャッジ日時 | 2024-11-27 01:44:07 |
| 合計ジャッジ時間 | 2,111 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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")