mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-05 12:18:48 +00:00
20 lines
358 B
C++
20 lines
358 B
C++
// R38782109
|
|
|
|
#include <bits/stdc++.h>
|
|
|
|
using namespace std;
|
|
|
|
int main() {
|
|
int n;
|
|
string name;
|
|
int age;
|
|
int score;
|
|
|
|
cin >> n;
|
|
for (int i = 0; i < n; i++) {
|
|
cin >> name >> age >> score;
|
|
cout << name << ' ' << ++age << ' ' << ((int)(score * 1.2) > 600 ? 600 : (int)(score * 1.2)) << endl;
|
|
}
|
|
return 0;
|
|
}
|