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

Common Board

Input from keyboard and output to monitor?
Posted by Alectronic 16 Mar 2006 10:27
The arcticle on FAQ'page contains inforamtion about input and output. Input from keyboard and output to monitor?
Re: Input from keyboard and output to monitor?
Posted by Burunduk1 16 Mar 2006 11:05
Yes.
(Not keyboard and monitor but
 standart input and output streams)

From FAQ:

Q: What is 'input' and what is 'output'?
A: Input/output are standard input and output. For example, you should solve problem 1000 in this way:

#include <iostream.h>
int main()
{
   int i,j;
   cin >> i >> j;
   cout << i+j;
   return 0;
}

or

var i,j:integer;
begin
   ReadLn(i,j);
   WriteLn(i+j)
end.

Edited by author 16.03.2006 11:07