結果
問題 |
No.1456 Range Xor
|
ユーザー |
|
提出日時 | 2021-08-11 18:04:19 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 236 bytes |
コンパイル時間 | 225 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 17,696 KB |
最終ジャッジ日時 | 2024-09-25 04:35:49 |
合計ジャッジ時間 | 4,886 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | TLE * 1 -- * 45 |
ソースコード
flag=False N,K=map(int,input().split()) A=list(map(int,input().split())) B=[0] for j in range(N): B.append(B[j]^A[j]) for i in range(j): if B[i]^B[j]==K: flag=True print("Yes" if flag else "No" )