P5744 [Shenji 7. Exercise 9] Training

Description

The students in a training institution have the following information: - Name (string). - Age (in full years, integer). - Last year's NOIP score (integer, and guaranteed to be a multiple of $5$). After one year of training, all students' scores have improved by $20\%$ (of course, the full score of NOIP is $600$, so the score cannot exceed this value). Given the students' information, please design a struct to store this student information, and design a function to simulate the training process. The parameter is this struct type, and it returns the same struct type, and outputs the student information.

Input Format

The first line contains a positive integer $n$, representing the number of students. Starting from the second line, there are $n$ lines. Each line first contains a string representing the student's name, then an integer representing the student's age, and then an integer representing last year's NOIP score.

Output Format

Output $n$ lines. Each line first outputs a string representing the student's name, followed by two integers representing the student's age after one year of training and their NOIP score this year. Separate them with spaces.

Explanation/Hint

Constraints: $1 \leq n \leq 5$. The age is an integer from $0 \sim 100$ (including $0$ and $100$). The score is a multiple of $5$ in the range $0 \sim 600$ (including $0$ and $600$). Translated by ChatGPT 5