ac

小黄  •  1天前


include

using namespace std;

int main() {

ios::sync_with_stdio(false);
cin.tie(nullptr);

int n;
cin >> n;

for (int i = 0; i < n; ++i) {
    int score;
    cin >> score;

    if (score >= 90)
        cout << "excellent\n";
    else if (score >= 80)
        cout << "good\n";
    else if (score >= 60)
        cout << "pass\n";
    else
        cout << "fighting\n";
}

return 0;

}


评论:

请先登录,才能进行评论