We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd522ea commit 59437e2Copy full SHA for 59437e2
kamyu104/src/main.rs
@@ -1,4 +1,5 @@
1
mod bitwise_and_of_numbers_range;
2
+mod find_the_difference;
3
mod maximum_product_of_word_lengths;
4
mod missing_number;
5
mod number_of_1_bits;
@@ -9,6 +10,5 @@ mod single_number;
9
10
mod single_number_ii;
11
mod single_number_iii;
12
mod sum_of_two_integers;
-mod find_the_difference;
13
-mod utf_8_validation;
14
mod template;
+mod utf_8_validation;
kamyu104/src/utf_8_validation.rs
@@ -13,16 +13,16 @@ impl Solution {
count = 2;
} else if (c >> 3) == 0b11110 {
15
count = 3;
16
- } else if c >> 7!=0 {
+ } else if c >> 7 != 0 {
17
return false;
18
}
19
- },
+ }
20
_ => {
21
if (c >> 6) != 0b10 {
22
23
24
- count-=1;
25
+ count -= 1;
26
27
28
count == 0
0 commit comments