結果
問題 |
No.183 たのしい排他的論理和(EASY)
|
ユーザー |
|
提出日時 | 2025-05-08 21:55:29 |
言語 | PyPy3 (7.3.15) |
結果 |
TLE
|
実行時間 | - |
コード長 | 170 bytes |
コンパイル時間 | 376 ms |
コンパイル使用メモリ | 82,560 KB |
実行使用メモリ | 63,104 KB |
最終ジャッジ日時 | 2025-05-08 21:55:38 |
合計ジャッジ時間 | 7,764 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 5 TLE * 1 -- * 12 |
ソースコード
N = int(input()) A = list(map(int,input().split())) X = set() X.add(0) for a in A: tmp = set() tmp.add(a) for x in X: tmp.add(a^x) X |= tmp print(len(X))