#include using namespace std;
int main() { int n; cin >> n; int cT, cE; cin >> cT >> cE; int cR = (cE * 100) / cT; for (int i = 1; i < n; ++i) { int nT, nE; cin >> nT >> nE; int nR = (nE * 100) / nT; if (nR > cR + 5) { cout << "better" << endl; } else if (cR > nR + 5) { cout << "worse" << endl; } else { cout << "same" << endl; } }
共 1 条回复
@root 到底哪有问题😕😭😭😭