Yes, look the solutions of other participants https://code.google.com/codejam/contest/975485/scoreboard#vf=1
I prefer $ ./a.out < A-small.in > A-small.sol On Tue, Apr 9, 2013 at 11:58 AM, Sann <[email protected]> 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/-/QI_7ZXfivz4J. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- *João Víctor Rocon Maia* www.joaovrmaia.com -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
