Skip to content

Commit 2a74730

Browse files
Update 1009.cpp
1 parent 4254e5f commit 2a74730

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

1009.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ class Solution {
55
return 1;
66
}
77
int count=0;
8-
int jk=num;
8+
int jok=num;
99
while(num>0){
1010
count++;
1111
num=num/2;
1212
}
1313
long long int cc=pow(2,count);
1414
int hh=cc-1;
15-
return hh^jk;
15+
return hh^jok;
1616
}
17-
};
17+
};

0 commit comments

Comments
 (0)