There was an error while loading. Please reload this page.
1 parent 20905d5 commit b4c2e45Copy full SHA for b4c2e45
Stack/227.Basic-Calculator-II/227.Basic-Calculator-II.cpp
@@ -14,7 +14,7 @@ class Solution {
14
15
vector<int>nums;
16
17
- for (int i=0; i<S.size(); i++)
+ for (int i=0; i<s.size(); i++)
18
{
19
if (s[i]=='+' || s[i]=='-')
20
0 commit comments