結果
| 問題 | No.183 たのしい排他的論理和(EASY) |
| コンテスト | |
| ユーザー |
taba
|
| 提出日時 | 2016-04-16 22:09:38 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 84 ms / 5,000 ms |
| コード長 | 141 bytes |
| 記録 | |
| コンパイル時間 | 129 ms |
| コンパイル使用メモリ | 77,584 KB |
| 最終ジャッジ日時 | 2025-12-03 20:26:57 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 18 |
ソースコード
n=input() a=set(map(int,raw_input().split())) x=set([0]) for i in a: if not i in x: for j in x.copy(): x.add(j^i) #print x print len(x)
taba