[gcj] How to take input in topcoder problem

2013-07-20 Thread hk
I am using python to solve problems in topcoder , but if i take input as :: value=raw_input('input:') but it gives EOFerror -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To unsubscribe from this group and stop receiving emails from it, send

Re: [gcj] How to take input in topcoder problem

2013-07-20 Thread wonjun
I normally go to the view section and copy everything. For instance if it was the problem of SRM 584 Div 1 Egalitarianism, I would copy the following: {"NYN", "YNY", "NYN"}, 10 20 Passed {"NN", "NN"}, 1 -1 Passed etc and put it in a file, say EgalitarianismTest.txt Then I read the file, like t

Re: [gcj] How to take input in topcoder problem

2013-07-20 Thread Carlos Guia
Python is extremely new in topcoder (couple of weeks) so I have never used it. But in all other languages, you implement a method with a specific signature of a specific class and receive each test case as arguments. Carlos Guía On Sat, Jul 20, 2013 at 7:55 AM, wonjun wrote: > I normally go to

Re: [gcj] How to take input in topcoder problem

2013-07-21 Thread driss kahfy
Use the editor of topcoder : write your code, save it, compile it and test it. There's a button for each operation. 2013/7/20 Carlos Guia > Python is extremely new in topcoder (couple of weeks) so I have never used > it. But in all other languages, you implement a method with a specific > signa

Re: [gcj] How to take input in topcoder problem

2013-07-23 Thread Hemant Kumar
Yeah , the problem is solved , we don't have to write code for taking arguments or raw input , just follow the signature problem want us to keep and it works , Thnks a lot On Sun, Jul 21, 2013 at 11:49 PM, driss kahfy wrote: > Use the editor of topcoder : write your code, save it, compile it an