Using console redirection.

Compile the code, say to a.out, then run it with the command line:

a.out < A-small-1.in

or similar.

Paul Smith

[email protected]


On Mon, Apr 30, 2012 at 10:14 PM, Makandriaco <[email protected]> wrote:
> Hate to sound stupid, but I have little experience with Java or Python
> or C, so I am having some problems running the solutions. Maybe you
> can explain how do contestants pass the file to the code when there is
> no declaration of a file and the main only starts with a
>
> int main() {
> int T
> scanf("%d",&T);
>
> getting the number of test cases
>
>
> On Apr 30, 2:52 pm, Chris Knott <[email protected]>
> wrote:
>> I have got solutions for ~100 of the problems on my website:
>> chrk.atwebpages.com/
>>
>>
>>
>> On Friday, April 20, 2012 4:56:50 AM UTC+1, Jason Jin Xin wrote:
>>
>> > I want to study others' code, but clicking one by one and unzip those
>> > zip files can be quite tedious.I was wondering if there are faster
>> > ways to do it
>> > thanx
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Code Jam" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-code?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.

Reply via email to