Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- #include <algorithm>
- #include <vector>
- #include <string>
- #include <set>
- using namespace std;
- int main () {
- int a, b;
- cin >> a >> b;
- bool flag = true;
- cout << abs(a - b) / 10 + ((a - b) % 10 != 0 ? 1 : 0) << endl;
- cout << (a > b ? ">" : "<");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement