結果
| 問題 | 
                            No.1456 Range Xor
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2021-12-30 23:08:55 | 
| 言語 | PyPy3  (7.3.15)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 199 bytes | 
| コンパイル時間 | 390 ms | 
| コンパイル使用メモリ | 82,048 KB | 
| 実行使用メモリ | 95,872 KB | 
| 最終ジャッジ日時 | 2024-10-07 01:22:53 | 
| 合計ジャッジ時間 | 5,334 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 43 WA * 3 | 
ソースコード
N,K = map(int,input().split())
A = list(map(int,input().split()))
D = {}
num = 0
ans = 'No'
for a in A:
    num ^= a
    if K^num in D:
        ans = 'Yes'
        break
    D[num] = True
print(ans)