1.1

From The Algorithm Design Manual Solution Wiki
Jump to navigation Jump to search

[math]\displaystyle{ a + b \lt \min(a,b) \Leftrightarrow a \lt 0 \and b \lt 0 }[/math]


If both a and b are negative, [math]\displaystyle{ a + b \lt min(a, b) }[/math]. For example

     [math]\displaystyle{ a = -5 }[/math]
     [math]\displaystyle{ b = -7 }[/math]
     [math]\displaystyle{ a+ b = -5 + (-7) = -12 }[/math]
     [math]\displaystyle{ min(-5, -7) = -7 }[/math]


Back to Chapter 1