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

Общий форум

Problems with input and output with samples on Guide Session for Haskell
Послано Jose_Silva 28 дек 2016 18:59
Okay! Haskellers understand here!

If you need use getContents for input you have two options for local executions on linux or unix environments:
1) Create file with inputs and execute on command: cat input.txt | ./main(haskell program)
2) On terminal execute the program, copy and past your entry for program and execute <CTRL>+D for EOF. That form the program execute and complete your operations.

I'm let that here only for informations for others new for Haskell.

Thank you,
Hygens

###################################################################################

Hi, haskellers on duty!

I'm attempting test the script haskell on mine environment for "1001 - Reverse Root" problem using the same code exposed on Guide session for Haskell but here freeze without response on display.
My environment is based on Linux Mint 16.04 with GHC 7.10.3. Exists any detail that I have passed or I have update that script for that version of Haskell?!
Not occure any error on environment simple that freeze without response for long time and I break the execution.
Some can help on that or had same proglem for ubuntu or mint?!

Thank you,
Hygens

Edited by author 28.12.2016 18:59

Edited by author 28.12.2016 19:30