結果
問題 | No.183 たのしい排他的論理和(EASY) |
ユーザー | ohana |
提出日時 | 2023-11-24 10:10:28 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 162 bytes |
コンパイル時間 | 352 ms |
コンパイル使用メモリ | 81,700 KB |
実行使用メモリ | 276,996 KB |
最終ジャッジ日時 | 2023-11-24 10:10:37 |
合計ジャッジ時間 | 8,040 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 37 ms
53,332 KB |
testcase_01 | AC | 36 ms
53,332 KB |
testcase_02 | AC | 40 ms
61,700 KB |
testcase_03 | AC | 40 ms
59,504 KB |
testcase_04 | AC | 41 ms
53,332 KB |
testcase_05 | AC | 42 ms
63,108 KB |
testcase_06 | AC | 37 ms
53,332 KB |
testcase_07 | TLE | - |
testcase_08 | -- | - |
testcase_09 | -- | - |
testcase_10 | -- | - |
testcase_11 | -- | - |
testcase_12 | -- | - |
testcase_13 | -- | - |
testcase_14 | -- | - |
testcase_15 | -- | - |
testcase_16 | -- | - |
testcase_17 | -- | - |
testcase_18 | -- | - |
testcase_19 | -- | - |
ソースコード
n = int(input()) A = list(map(int, input().split())) S = set([0]) for a in A: T = set() for s in S: T.add(s ^ a) S = S | T print(len(S))