알고리즘
[알고리즘] 백준 16099 - Larger Sport Facility (C++)
blueberrysoda
2025. 5. 23. 23:39
[문제 링크] : https://www.acmicpc.net/problem/16099
#include <iostream>
using namespace std;
int main(){
int T;
long long a, b, c ,d;
cin >> T;
while(T--){
cin >> a >> b >> c >> d;
long long tmp = a * b;
long long tmp2 = c * d;
if(tmp > tmp2){
cout << "TelecomParisTech\n";
}
else if(tmp < tmp2){
cout << "Eurecom\n";
}
else{
cout << "Tie\n";
}
}
return 0;
}