ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1629. Trip

Has anyone had problems with I/O?
Posted by Anisimov Dmitry 11 Oct 2008 18:17
Re: Has anyone had problems with I/O?
Posted by Yegor Suvorov 1 Jun 2009 14:29
No. There are no problems. If you use C/C++, you can use the following:
scanf("%d:%d", &hours, &minutes);
It works. =)

p.s. If you use Pascal you may be can use the following:
read(hours);
read(temp_char);
read(minutes);

where temp_char:char.

Edited by author 01.06.2009 14:30