ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Общий форум

Input from keyboard and output to monitor?
Послано Alectronic 16 мар 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?
Послано Burunduk1 16 мар 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