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

Problems with input and output with samples on Guide Session for Haskell
Posted by Jose_Silva 28 Dec 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