Skip to content

Commit ae4a5b4

Browse files
committed
Runtime: 0 ms (Top 100.00%) | Memory: 5.8 MB (Top 78.74%)
1 parent 7994fb6 commit ae4a5b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/N/Number Complement/Number Complement.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 0 ms (Top 100.00%) | Memory: 5.8 MB (Top 78.74%)
12
class Solution {
23
public:
34
int findComplement(int num) {
@@ -9,4 +10,4 @@ class Solution {
910
n--;
1011
return n-num;
1112
}
12-
};
13+
};

0 commit comments

Comments
 (0)