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 1001. Reverse Root

in python how to stop taking input
Posted by Al Alamin 10 May 2013 00:00
the programme just keeps taking input. how to make it stop taking input and print result
Re: in python how to stop taking input
Posted by candide 10 May 2013 02:52
You can get the whole input data as a big string with stdin.read() [don't forget to import stdin from the sys module].