UVa 10055
Jump to navigation
Jump to search
Contents
10055 - Hashmat the brave warrior[edit]
Summary[edit]
This is a classic gotcha problem.
Explanation[edit]
We are given two integers, we need to find the absolute value of their difference.
Gotcha's[edit]
- The numbers will not fit in a 32 bit int. Use a 64 bit int.
Input[edit]
10 12 10 14 100 200 200 100 4294967296 4294967295
Output[edit]
2 4 100 100 1