Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- #define int long long
- signed main()
- {
- int a , b , c;
- cin >> a >> b >> c;
- if(c % 2 == 0){
- a = abs(a);
- b = abs(b);
- // a >= 0; b >= 0
- }
- if((a >= 0) && (b >= 0)){
- if(a == b){
- cout << "=" << endl;
- return 0;
- }
- cout << ((a > b) ? ">" : "<") << endl;
- return 0;
- }
- if((a <= 0) && (b <= 0)){
- if(a == b){
- cout << "=" << endl;
- return 0;
- }
- cout << ((a > b) ? ">" : "<") << endl;
- return 0;
- }
- cout << ((a > b) ? ">" : "<") << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement