Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
4583 | 李伟和 | 输出满足条件的成绩 | C++ | Accepted | 0 MS | 252 KB | 304 | 2024-08-22 21:41:41 |
#include <iostream> using namespace std; int main() { int studentId, score; for (int i = 0; i < 50; ++i) { cin >> studentId >> score; if (score >= 80) { cout << studentId << " " << score << endl; } } return 0; }