HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Volumes > Beginners > problem:


150. 50500 - Find Student

Guest
• Review clarifications (2)

Volume problems

• 053. 50501 - The Highest Average
• 062. 50402 - Hello World!
• 063. 50547 - Close Pair
• 068. 50581 - The roots of a quadrati...
• 100. 50532 - Close City
• 120. 50511 - Class Average
• 130. 50416 - Placing Dominoes on ...
• 140. 50417 - Fun Fair
• 150. 50500 - Find Student
• 260. 50460 - Median of 3 Numbers
• 50292 - Average of 4 Marks
• 001. 51153 - A+B.
• 002. 50348 - Area and Perimeter of ...
• 003. 50349 - Area of a Triangle
• 004. 50350 - Fahrenheit to Celsius
• 010. 50357 - Convert Euros into Dol...
• 015. 50356 - Hours Passed

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