On Tuesday, April 9, 2013 8:28:41 PM UTC+5:30, 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?
>


Yes you surely can as long as the file is the latest one generated by the 
judge. 

-- 
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/-/_3o1XQKXaUwJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to