Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9b54e4b

Browse files
fix build
1 parent34bec61 commit9b54e4b

File tree

1 file changed

+1
-0
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+1
-0
lines changed

‎src/main/java/com/fishercoder/solutions/_693.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public boolean hasAlternatingBits(int n) {
4242
returntrue;
4343
}
4444
}
45+
4546
publicstaticclassSolution2 {
4647
publicbooleanhasAlternatingBits_oneline(intn) {
4748
returnInteger.bitCount(((n >>1) ^n) +1) ==1;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp