You don't need to care how to deal with the input.

The System will not run your code. You solution will be accepted as long as 
your output file is correct. (Even when you get the result by hand)

But don't try to cheat and provide a invalid source of your program because 
your accepted source can be viewed by public. Someone may find out and 
report you as a cheater.

Parker

On Tuesday, April 9, 2013 10:58:41 PM UTC+8, Sann wrote:
>
> When I submit my code, do the code need to accept a file passed in through 
> command-line argument or can it accept the file locally?
>
> Consider the following code-
>
> infile = open('A-small.in')
> ## do stuff.
>
> This code will work only if 'A-small.in' file is present where the code 
> is ran. Command-line arguments to the file path will not work.
>
> Can I submit such code?
>

-- 
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 an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-code/-/l1LyQJOcCZcJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to