Skip to content

Commit b4c2e45

Browse files
authored
Update 227.Basic-Calculator-II.cpp
1 parent 20905d5 commit b4c2e45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Stack/227.Basic-Calculator-II/227.Basic-Calculator-II.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Solution {
1414

1515
vector<int>nums;
1616

17-
for (int i=0; i<S.size(); i++)
17+
for (int i=0; i<s.size(); i++)
1818
{
1919
if (s[i]=='+' || s[i]=='-')
2020
{

0 commit comments

Comments
 (0)