ГлавнаяСборникиТурнирыРазделыФорумыУчастникиПечатьПомощьО системе

Сборники > Beginners > задача:


150. 50500 - Find Student

Гость
• Вопросы к жюри (2)

Задачи сборника

• 053. 50501 - The Highest Average
• 062. 50402 - Hello World!
• 063. Cifti me i afert
• 068. 50581 - Rrenjet e Ekuacionit K...
• 100. 50532 - Close City
• 120. 50511 - Class Average
• 130. 50416 - Placing Dominoes on ...
• 140. 50417 - Fun Fair
• 150. 50500 - Find Student
• 260. 50460 - Numrin e Mesem
• 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

Обратная связь

Если у вас есть предложения или пожелания по работе Contester, посетите форум сайта www.contester.ru.

Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб.
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