結果
| 問題 | No.183 たのしい排他的論理和(EASY) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-04-17 21:49:29 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 156 bytes |
| 記録 | |
| コンパイル時間 | 457 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 39,360 KB |
| 最終ジャッジ日時 | 2026-03-25 23:38:50 |
| 合計ジャッジ時間 | 45,410 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 12 TLE * 6 |
ソースコード
from sys import stdin
readline = stdin.readline
n = readline()
x = {0}
for a in map(int, readline().split()):
x |= {xi ^ a for xi in x}
print(len(x))