That means compiling the program several times (one for the test, one for the small input, one for the large input...). You can compile one time using the standard input and output
#include<....> #include<....> #include<....> #include<....> ... (defines) using namespace std; int main() { string st; while(getline(cin,st)) cout << st << endl; } And run the program using the comand line: program <A-small.in >A- small.out This run the program using A-small.in like stdin and A-smal.out like stdout Run the program one more time: program <A- large.in >A-large.out This work in Windows, if your SO is Mac or Linux, don't know if works -- You received this message because you are subscribed to the Google Groups "google-codejam" group. To post to this group, send email to google-c...@googlegroups.com. To unsubscribe from this group, send email to google-code+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-code?hl=en.