題目:
https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=show_problem&problem=2113
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| #include <bits/stdc++.h> using namespace std; int main(){ int t, a, b; cin >> t; while(t--){ cin >> a >> b; if(a < b) cout << '<'; else if(a == b) cout << '='; else cout << '>'; cout << '\n'; } return 0; }
|