Run ID:110474

提交时间:2025-02-21 21:24:39

#include <iostream> using namespace std; int main() { for (int i = 0; i < 50; ++i) { int studentID, score; cin >> studentID >> score; // 读取学号和成绩 // 检查成绩是否大于等于80分 if (score >= 80) { cout << studentID << " " << score << endl; // 输出学号和成绩 } } return 0; }