結果
問題 |
No.183 たのしい排他的論理和(EASY)
|
ユーザー |
![]() |
提出日時 | 2015-08-18 18:43:44 |
言語 | Python2 (2.7.18) |
結果 |
TLE
|
実行時間 | - |
コード長 | 140 bytes |
コンパイル時間 | 36 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 13,888 KB |
最終ジャッジ日時 | 2024-07-18 10:13:47 |
合計ジャッジ時間 | 6,538 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 5 TLE * 1 -- * 12 |
ソースコード
N = input() A = map(int, raw_input().strip().split()) dp = set([0]) for a in A: for x in list(dp): dp.add(a ^ x) print(len(dp))