題目:
https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=12&page=show_problem&problem=996
1 2 3 4 5 6 7 8 9 10 11 12
| #include <iostream> #include <cmath>
using namespace std;
int main(){ long long int a, b; while(cin >> a >> b){ cout << abs(a-b) << '\n'; } return 0; }
|