結果
| 問題 | No.183 たのしい排他的論理和(EASY) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-04-17 08:04:51 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 2,868 ms / 5,000 ms |
| + 586µs | |
| コード長 | 173 bytes |
| 記録 | |
| コンパイル時間 | 78 ms |
| コンパイル使用メモリ | 80,888 KB |
| 実行使用メモリ | 187,720 KB |
| 最終ジャッジ日時 | 2026-10-12 14:29:09 |
| 合計ジャッジ時間 | 16,154 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 19 |
ソースコード
#!/usr/bin/python
from collections import defaultdict
h={0}
input()
a=map(int,input().split())
for e in a:
b=[]
for f in h:b.append(f^e)
for f in b:h.add(f)
print(len(h))