Skip to content

Commit 46ade1f

Browse files
committed
Runtime: 100 ms (Top 27.69%) | Memory: 29.4 MB (Top 37.30%)
1 parent 9580e68 commit 46ade1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 100 ms (Top 27.69%) | Memory: 29.4 MB (Top 37.30%)
12
class Solution {
23
public:
34
bool isGoodArray(vector<int>& nums) {
@@ -6,4 +7,4 @@ class Solution {
67
gcd=__gcd(gcd,nums[i]);
78
}return gcd==1;
89
}
9-
};
10+
};

0 commit comments

Comments
 (0)