C++ || GCD
\nclass Solution {\npublic:\n    bool isGoodArray(vector<int>& nums) {\n        int n = 0;\n        for(int i=0;i<nums.size();i++)\n        {\n            n = _
```\nclass Solution {\npublic:\n    bool isGoodArray(vector<int>& nums) {\n        int n = 0;\n        for(int i=0;i<nums.size();i++)\n        {\n            n = __gcd(n,nums[i]);\n            if(n == 1)\n                return true;\n        }\n        return false;\n    }\n};\n```
['C']