Skip to content

Commit d72ff08

Browse files
committed
Runtime: 1755 ms (Top 5.17%) | Memory: 312.6 MB (Top 5.17%)
1 parent d6849cf commit d72ff08

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/S/Strange Printer/Strange Printer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 1755 ms (Top 5.17%) | Memory: 312.6 MB (Top 5.17%)
12
class Solution {
23
public:
34
int dp[101][101];
@@ -28,7 +29,7 @@ class Solution {
2829
int strangePrinter(string s)
2930
{
3031
memset(dp,-1,sizeof(dp));
31-
return solve(s,0,s.size()-1);
32+
return solve(s,0,s.size()-1);
3233
}
3334
};
3435
// if you like the solution plz upvote.

0 commit comments

Comments
 (0)