Welcome to MindCipher, a social repository of the world's greatest brain teasers, logic puzzles and mental challenges.

Kaushik Nayak

Likes 0

Kaushik Nayak must be new here...

Ratings 0

No ratings yet!

Comments 4

Black and White Hats

Altruistic prisoner!

context
Gold or silver?

This question may be a riddle for someone in America , not in Britain or India

context
No if() Only abs()

sorry..the correct one is

x = a - b absx = abs(x)

s = absx + a + b

max = s/2

context
No if() Only abs()

x = a - b

y = b - a

absx = abs( a - b ) absy = abs( b - a )

s = absx + absy -x -y

max = s/2

context