C++  no set just bit manipulation
Hackers Delight is usefull even if you have read only first pages.\n# Code\ncpp []\nclass Solution {\npublic:\n    int minImpossibleOR(vector<int>& nums) {\n   
Hackers Delight is usefull even if you have read only first pages.\n# Code\n```cpp []\nclass Solution {\npublic:\n    int minImpossibleOR(vector<int>& nums) {\n        unsigned res = 0;\n        for(auto n : nums)\n            if((n&n-1)==0)\n                res|=n;\n        res = ~res&(res+1);//isolates rightmost 0\n        return res;\n    }\n};\n```
['C++']