B.cpp 197 B

12345678910111213
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. int main() {
  4. int id, score;
  5. while (cin >> id >> score) {
  6. if (score >= 80) {
  7. cout << id << " " << score << endl;
  8. }
  9. }
  10. return 0;
  11. }