[C++] Faster than 98%
\nclass Solution {\npublic:\n    vector<bool> prefixesDivBy5(vector<int>& nums) {\n        int n=0;\n        vector<bool> res;\n\t\t\n        for(int i=0;i<nums
```\nclass Solution {\npublic:\n    vector<bool> prefixesDivBy5(vector<int>& nums) {\n        int n=0;\n        vector<bool> res;\n\t\t\n        for(int i=0;i<nums.size();i++){\n            n=(n<<1)+nums[i];\n            res.push_back(n%5==0);\n            n=n%5;\n        }\n\t\t\n        return res;\n    }\n};\n```
['C']