Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
148246 于墨轩 输出满足条件的成绩 C++ Accepted 0 MS 284 KB 329 2026-02-10 13:52:09

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int id, score; for (int i = 0; i < 50; ++i) { cin >> id >> score; if (score >= 80) { cout << id <<' '<< score << '\n'; } } return 0; }