C Code
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nint gcd(int a, int b)\n{\n    while(b != 0)\n    {\n        int temp = b;\n        b = a % b;\n        a = temp;\n    }\n    return a;\n}\nbool isGoodArray(int* nums, int numsSize) {\n    int result = nums[0];\n    for(int i = 0;i<numsSize;i++)\n    {\n        result = gcd(result, nums[i]);\n    }\n    if(result == 1)\n    {\n        return true;\n    }\n    return false;\n}\n```
['C']