Jul. 15th, 2004

arjache: (Default)
"It's kind of like sensory deprivation, but with goths, which makes it worse."
arjache: (Default)
"It's kind of like sensory deprivation, but with goths, which makes it worse."

Pop Quiz

Jul. 15th, 2004 12:37 am
arjache: (Default)
Write a function:

int f(int a, int b, int c)

such that f(a, b, c) == (a ? b : c)

using only ~, ^, &, =, +, |, !, and return
(and no temporary variables)

My solution

Pop Quiz

Jul. 15th, 2004 12:37 am
arjache: (Default)
Write a function:

int f(int a, int b, int c)

such that f(a, b, c) == (a ? b : c)

using only ~, ^, &, =, +, |, !, and return
(and no temporary variables)

My solution

May 2012

S M T W T F S
  12345
6 789101112
13141516171819
20212223242526
2728293031  

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 5th, 2025 09:55 am
Powered by Dreamwidth Studios