結果
| 問題 |
No.669 対決!!! 飲み比べ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-11-26 10:47:10 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 190 bytes |
| コンパイル時間 | 176 ms |
| コンパイル使用メモリ | 82,216 KB |
| 実行使用メモリ | 54,160 KB |
| 最終ジャッジ日時 | 2024-07-23 20:44:20 |
| 合計ジャッジ時間 | 2,451 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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()))
G = 0
for Ai in A:
G ^= Ai%K
if G!=0:
print('YES')
else:
print('NO')