HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Sections > Search > problem:


50500 - Find Student

Guest
• Review clarifications (2)

Section problems

• 51058 - Third grade students
• 51060 - Public Transportation
• 50483 - Group Total
• 50331 - Number of Numbers over A...
• Raporti Javor
• 50861 - The largest Student Group
• 50815 - Breaking the Bunker
• 50437 - Age Labeling
• 50500 - Find Student
• 50786 - Top Question
• 50788 - Eight Puzzle
• 50504 - School contest
• 50787 - Expected Value
• 50859 - Low performance
• 50785 - Swimming Contest
• 50826 - Olive Containers
• 50866 - Buy the cheapest

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