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

Commit fac2c0d

Browse files
committed
优化"给3个布尔变量,当其中有2个或者2个以上为true才返回true"
1 parent fdee481 commit fac2c0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎contents/Check-if-at-least-two-out-of-three-booleans-are-true.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
##给3个布尔变量,当其中有2个或者2个以上为true才返回true
2-
===
2+
33
###问题
44
给3个boolean变量,a,b,c,当其中有2个或2个以上为true时才返回true?
55
* 最笨的方法:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /