There are two int variables: a and b ,don't use "if","?:","switch" or other judgement statements, find out of the two numbers.
(( a + b) + abs( a - b)) / 2
There are two int variables: a and b ,don't use "if","?:","switch" or other judgement statements, find out of the two numbers.
(( a + b) + abs( a - b)) / 2
9020
1万+

被折叠的 条评论
为什么被折叠?