#include<iostream> #include<algorithm> using namespace std; int main() { int n; while (cin >> n) { while (n--) { int a, b; cin >> a >> b; if (a == b) cout << "These numbers are equal." << endl; else cout << max(a,b) << endl; } } return 0; }
#include<iostream> #include<algorithm> using namespace std; int main() { int n; while (cin >> n) { while (n--) { int a, b; cin >> a >> b; if (a == b) cout << "These numbers are equal." << endl; else cout << max(a,b) << endl; } } return 0; }