Easy Solution
\nvector<bool> prefixesDivBy5(vector<int>& nums) {\n        \n       vector<bool>v;\n        \n        int sum=0;\n        \n        for(auto x : nums){\n      
```\nvector<bool> prefixesDivBy5(vector<int>& nums) {\n        \n       vector<bool>v;\n        \n        int sum=0;\n        \n        for(auto x : nums){\n            \n            sum=(sum*2+x)%5;\n            \n            v.push_back(sum==0);\n        }\n        \n        return v;\n    }\n```
['C', 'C++']