100% FASTER || c++ SOLUTION || SIMPLE 5 LINES SOLUTION
```\nclass Solution {\npublic:\n    vector prefixesDivBy5(vector& nums) {\n        vectorans;\n        int sum=0;\n        \n        \n        for(int i=0;i<num
```\nclass Solution {\npublic:\n    vector<bool> prefixesDivBy5(vector<int>& nums) {\n        vector<bool>ans;\n        int sum=0;\n        \n        \n        for(int i=0;i<nums.size();i++)\n        {\n            sum*=2;\n            sum+=nums[i];\n            sum=sum%5;\n            ans.push_back(sum%5==0);\n        }\n        \n        return ans;\n    }\n};\n````
['C']