There was an error while loading. Please reload this page.
1 parent de59343 commit 092d58eCopy full SHA for 092d58e
LeetCode/306. Additive Number.cpp
@@ -1,7 +1,5 @@
1
class Solution {
2
bool isAdditiveNumberRec(string num, int idx, long long prev1, long long prev2, int cnt) {
3
- cout << num << ' ' << idx << ' ' << prev1 << ' ' << prev2 << endl;
4
-
5
if(idx > num.length()) {
6
return false;
7
}
0 commit comments