結果
問題 |
No.2672 Subset Xor Sum
|
ユーザー |
![]() |
提出日時 | 2024-03-19 14:33:43 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 256 bytes |
コンパイル時間 | 160 ms |
コンパイル使用メモリ | 82,564 KB |
実行使用メモリ | 142,876 KB |
最終ジャッジ日時 | 2024-09-30 05:28:56 |
合計ジャッジ時間 | 5,561 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 62 WA * 4 |
ソースコード
N=int(input()) A=list(map(int,input().split())) ans=0 for i in range(N): ans^=A[i] if ans==0: ma=max(A) left=0 while 2**(left+1)<=ma: left+=1 if N>left+1: print('Yes') else: print('No') else: print('No')