The output is a text file you have to generate, you download an input file,
run your code on it, and put the results on another file, that's the output
file. In real contest you'll have to also upload the .c file as the source
file.

To redirect, in C/C++ you can use
freopen<http://www.cplusplus.com/reference/cstdio/freopen/> in
your code.

Or in a console/terminal/etc. If your executable is called program
program < input_file.txt > output_file.txt

and leave your code using standard input and output

Carlos Guía


On Sat, Mar 23, 2013 at 2:00 PM, Smit <smitkis...@gmail.com> wrote:

> i am new to code jam... i am not able to upload the output
> file...actually, i don't understand which one is the output file for .c
> source file... please help me... also help me in redirecting the output
> file to .txt file...
>
> --
> 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 google-code+unsubscr...@googlegroups.com.
> To post to this group, send email to google-code@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-code/-/VmI_B-JcUSwJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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 google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to