Skip to content

Commit 085741f

Browse files
committed
Runtime: 7 ms (Top 81.50%) | Memory: 6.6 MB (Top 78.80%)
1 parent 0ea2c94 commit 085741f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/algorithms/C/Count and Say/Count and Say.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 7 ms (Top 81.50%) | Memory: 6.6 MB (Top 78.80%)
12
class Solution {
23
public:
34
string countAndSay(int n) {
@@ -23,9 +24,9 @@ class Solution {
2324
}
2425
ans += to_string(count);
2526
ans += curr;
26-
27+
2728
return ans;
2829
}
29-
30+
3031
}
31-
};
32+
};

0 commit comments

Comments
 (0)