HomeVolumesContestsSectionsForumsUsersPrintHelpAbout

Contests > CEN111 Homeworks 2013-2015 > problem:


14-Fall1-30. 50500 - Find Student

CEN111 Homeworks 2013-2015

Start: Jan.10.2015 at 10:00:00 AM
Finish: Jan.10.2015 at 03:00:00 PM
The contest is finished!
• Contest scoreboard

Guest
• Review clarifications (2)

Contest problems

• 50389 - Reverse an Array
• 50392 - How much space
• 50378 - Sum of the given digits
• 13-Fall2-10. 50379 - a^b modulus k
• 13-Fall2-20. 50399 - Mobile Base Sta...
• 13-Fall2-40. 50401 - Sum of Odd N...
• 13-Fall2-50. 50400 - nth Row rth El...
• 14-Fall1-10. 50532 - Close City
• 14-Fall1-30. 50500 - Find Student
• 14-Fall1-40. 50511 - Class Average
• 14-Fall1-50. 50481 - Car Parking
• 14-Fall2-10. 50510 - What floor are ...
• 14-Fall2-20. 50504 - School contest
• 14-Fall2-30. 50523 - Total Tax to Pay
• 14-Fall2-40. 50514 - Bookkeeping
• 14-Fall2-50. 50534 - Top Trading C...
• 14-Fall2-60. 50487 - Radius of Inscr...

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