0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-09 02:18:51 +00:00
OI-codes/Luogu/P5742/P5742.cpp

20 lines
364 B
C++
Raw Normal View History

// R38780150
#include <bits/stdc++.h>
using namespace std;
int main() {
int n, x, s, tmp;
cin >> n;
for (int i = 0; i < n; i++) {
cin >> tmp >> x >> s;
if (x + s > 140 && x * 0.7 + s * 0.3 >= 80) {
cout << "Excellent" << endl;
2021-11-19 09:01:13 +00:00
} else {
cout << "Not excellent" << endl;
}
}
return 0;
}