1.1

From The Algorithm Design Manual Solution Wiki
Revision as of 20:07, 31 August 2020 by Algowikiadmin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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