HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Search > problem:


50500 - Find Student

Guest
• Review clarifications (2)

Section problems

• 50862 - Sum of the Pairs
• 51059 - Football teams
• 51058 - Third grade students
• 51060 - Public Transportation
• 50861 - The largest Student Group
• 50815 - Breaking the Bunker
• 50483 - Group Total
• 51078 - Max trade
• 50500 - Find Student
• 50786 - Top Question
• 50788 - Eight Puzzle
• 50504 - School contest
• 51056 - Welcome Picnic
• 50787 - Expected Value
• 51055 - The competition
• 50859 - Low performance
• 50826 - Olive Containers

Feedback

If you notice incorrect translations in Contester, please let author know.

Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb.
Question by Ibrahim Mesecan.

Find Student

Question:
You will be given an ID which is followed by the information of 4 students. Show the information for the student with the given ID.

Input specification
You will be first given an integer ID. In the following 4 lines, you will be given the information for 4 students. Each line contains:

  • ID: an integer between 100 and 1000
  • class name: 3 characters long string which contains only letters and digits.
  • Student name and surname: string which are not longer than 15 characters. And they contain only English letters.
  • Student grade: An integer between 1 and 100

Output specification
Show all the information for the student with the given ID.

 Sample Input I     Sample Output I   
  583
  228 10C Albana Reka 57
  583 11A Albana Veizi 41
  436 12A Mondi Ramushi 22
  730 12B Arnold Bega 25
 583 11A Albana Veizi 41


Для отправки решений необходимо выполнить вход.

www.contester.ru