Hi Saimohan!

Will you please post your code here so that I can run it locally? Your output 
looks fine from what I can see.

> On Apr 9, 2020, at 11:45 AM, Saimohan Kuncham <[email protected]> wrote:
> 
> 
> This is how I am printing the final output :
> 
> cout << "Case #" << caseno << ":" << " " << tracesum << " " << rowsrepeatnum 
> << " " << colsrepeatnum << endl;        
> 
> What is the correct way to test on the local machine ?
> 
> I am testing my program by entering the keyboard input. In other words I am 
> simply running the program 
> 
> myprogram.exe 
> 
> from the DOS prompt.
> 
> Is it necessary to store the inputs in a text file and redirect the input and 
> output that is
> 
> myprogram.exe < input > output
> 
> Is this how the GCJ environment runs the program ?
> 
> When I run my program by redirecting the std in and std out as shown above I 
> get wrong results in the output file. I have not made any changes to the 
> program for this.
> 
> Any help will be appreciated.
> 
> Thanks
> Saimohan Kuncham
> 
>> On Wednesday, April 8, 2020 at 9:22:25 PM UTC+5:30, Saimohan Kuncham wrote:
>> When I run my code locally using MinGW compiler I am getting the right 
>> answers. 
>> 
>> I have tried the sample testcases given in the problem and they also give 
>> the correct results when run locally. On the Code jam environment I am 
>> getting wrong results both in test (where I manually enter the inputs)and 
>> attempt when I run the program. 
>> 
>> My program which compiles and runs without any errors should work at least 
>> for the Sample testcases. What could be the problem ?
>> 
>> Is there any specific name for the cpp file which I have to upload ? I tried 
>> renaming to Solution.cc and then upload it but it did not help.
>> 
>> Any help will be appreciated.
>> 
>> Thanks
>> Saimohan Kuncham
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-code/0280be25-49eb-44fc-8501-33f4046eab45%40googlegroups.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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/C67DF6BE-3FE7-49E9-B59E-D8946949E407%40gmail.com.

Reply via email to