Re: [gcj] Re: Tic tac toe problem in google code jam

2013-04-20 Thread Vincent Dirie
Your program outputs correctly. And here ate the content. Case #1: Game has not completed Case #2: Draw Case #3: O won Case #4: X won Case #5: Draw Case #6: O won Case #7: X won Case #8: O won Case #9: Game has not completed Case #10: X won Judged response for input A-small: *Correct!* On Wed,

Re: [gcj] Re: Tic tac toe problem in google code jam

2013-04-17 Thread sweta sharma
As far as i rem i tried to upload the correct output file and that too multiple times ...It wasnt accepted but today it isIs this because of some technical fault? On Wed, Apr 17, 2013 at 1:47 AM, Bill Bruns bruns.b...@gmail.com wrote: Hi Sweta, Have you tried uploading your output today?

Re: [gcj] Re: Tic tac toe problem in google code jam

2013-04-17 Thread Carlos Guia
You can try contacting the codejam team at code...@google.com to ask them, I know in the past a friend who in a similar situation and he did in fact upload the wrong file. Carlos Guía On Wed, Apr 17, 2013 at 8:48 AM, sweta sharma sharma.sweta1...@gmail.comwrote: As far as i rem i tried to

Re: [gcj] Re: Tic tac toe problem in google code jam

2013-04-17 Thread sweta sharma
Can u please tell me what should the output file containis it the output cases generated by the program..and if it is so then my output file isnt accepted...what to do? On Wed, Apr 17, 2013 at 9:08 PM, Carlos Guia carlos.guia.v...@gmail.comwrote: You can try contacting the codejam team at

Re: [gcj] Re: Tic tac toe problem in google code jam

2013-04-17 Thread sweta sharma
I checked everything...the logic is correct and even the output generated is correctthe output format is correct even... On Wed, Apr 17, 2013 at 9:34 PM, Vishwas B Sharma vishwassharmahe...@gmail.com wrote: Firstly check if your program logic is correct. And it is producing the correct

Re: [gcj] Re: Tic tac toe problem in google code jam

2013-04-17 Thread Ayman Mohamed
Can you upload your output file here ? On Wed, Apr 17, 2013 at 6:06 PM, sweta sharma sharma.sweta1...@gmail.comwrote: I checked everything...the logic is correct and even the output generated is correctthe output format is correct even... On Wed, Apr 17, 2013 at 9:34 PM, Vishwas B

Re: [gcj] Re: Tic tac toe problem in google code jam

2013-04-17 Thread Carlos Guia
Yes, the output should be a text file with the results you generated for the input you downloaded. Before you do anything, check you submitted what you were supposed to: - Go to https://code.google.com/codejam/contests.html (and sign in if you aren't), - on the left, click on View my submissions

Re: [gcj] Re: Tic tac toe problem in google code jam

2013-04-17 Thread Ayman Mohamed
When I submit this file, it says Correct . If it says Incorrect with you , you should email codejam to see what the problem is. On Wed, Apr 17, 2013 at 6:20 PM, sharma.sweta1...@gmail.com wrote: Sent from Windows Mail *From:* Ayman Mohamed *Sent:* ‎Wednesday‎, ‎17‎ ‎April‎ ‎2013

[gcj] Re: Tic tac toe problem in google code jam

2013-04-17 Thread sweta sharma
Case #1: Game has not completed Case #2: Draw Case #3: O won Case #4: X won Case #5: Draw Case #6: O won Case #7: X won Case #8: O won Case #9: Game has not completed Case #10: X won This is the content of my output file... -- You received this message because you are subscribed to the Google

Re: [gcj] Re: Tic tac toe problem in google code jam

2013-04-17 Thread Adriano Ueda
hi sweta... can you upload your input file? On Wed, Apr 17, 2013 at 1:26 PM, sweta sharma sharma.sweta1...@gmail.comwrote: Case #1: Game has not completed Case #2: Draw Case #3: O won Case #4: X won Case #5: Draw Case #6: O won Case #7: X won Case #8: O won Case #9: Game has not

Re: [gcj] Re: Tic tac toe problem in google code jam

2013-04-17 Thread Baris Acar
Sweta, Do you get the same problem if you upload the result of a known working solution? If so, the problem may be with your computer, your browser, your connection, or the gcj site itself. However, if uploading someone else's output file works, but your output does not, the problem is

Re: [gcj] Re: Tic tac toe problem in google code jam

2013-04-16 Thread Malay Keshav
I just tried uploading your output for both the large and small dataset .. Both of them gave a correct response 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,

Re: [gcj] Re: Tic tac toe problem in google code jam

2013-04-16 Thread sharma.sweta1990
Dunno what was wrong on that day ☹ Sent from Windows Mail From: Malay Keshav Sent: ‎Tuesday‎, ‎16‎ ‎April‎ ‎2013 ‎12‎:‎54 To: google-code@googlegroups.com I just tried uploading your output for both the large and small dataset .. Both of them gave a correct response by the judge ...

Re: [gcj] Re: Tic tac toe problem in google code jam

2013-04-16 Thread Sajal Sarkar
There could be multiple reason of failure of your submission. hardcoding is something which needs to be avoided. Wrong file submission caused a lot of people's solution to be failed at some time(including me :( ) or at some point failure for some special input which might get missed because of

Re: [gcj] Re: Tic tac toe problem in google code jam

2013-04-16 Thread ankush agarwal
In practice mode only outputs are checked not source code so still the error in source code may be there. On Tue, Apr 16, 2013 at 4:15 PM, Sajal Sarkar ssstarsarkar...@gmail.comwrote: There could be multiple reason of failure of your submission. hardcoding is something which needs to be

Re: [gcj] Re: Tic tac toe problem in google code jam

2013-04-16 Thread Carlos Guia
Source code is not checked during the live round either. Carlos Guía On Tue, Apr 16, 2013 at 3:49 PM, ankush agarwal ankushagarwa...@gmail.comwrote: In practice mode only outputs are checked not source code so still the error in source code may be there. On Tue, Apr 16, 2013 at 4:15 PM,

Re: [gcj] Re: Tic tac toe problem in google code jam

2013-04-16 Thread Bill Bruns
Hi Sweta, Have you tried uploading your output today? If it gives a response of Correct today then likely on that day it was the wrong output file being uploaded, since your program uses the same output file name for both the large and the small problem sets. There is nothing wrong with the logic

[gcj] Re: Tic tac toe problem in google code jam

2013-04-15 Thread aurimas neverauskas
Sweta, The only thing I've noticed that could cause problem is extra new line print in the end. However your program is very hard to read. Aurimas On Sunday, April 14, 2013 7:14:14 AM UTC+3, sweta sharma wrote: I wrote the following program . The program is giving correct output for

[gcj] Re: Tic tac toe problem in google code jam

2013-04-15 Thread sweta sharma
On Sunday, 14 April 2013 09:44:14 UTC+5:30, sweta sharma wrote: I wrote the following program . The program is giving correct output for theinput file but the program isnt accepted...Its showing that its Incorrect...Can someone please tell me what the problem is ? Source code :

Re: [gcj] Re: Tic tac toe problem in google code jam

2013-04-15 Thread Baris Acar
A simple way to troubleshoot is to download a correct solution and execute it against the same input, then compare their output with yours using a diff utility. All participants' code is downloadable from the codejam site so pick someone who got the right answer for this problem. However, I

Re: [gcj] Re: Tic tac toe problem in google code jam

2013-04-15 Thread Malay Keshav
Your code should be working fine.Your output matches with one generated by my code for both the large and small dataset.. Are you sure the judges response is incorrect ? On Tue, Apr 16, 2013 at 6:35 AM, Baris Acar ba...@acar.org.uk wrote: A simple way to troubleshoot is to download a correct

Re: [gcj] Re: Tic tac toe problem in google code jam

2013-04-15 Thread Jugesh Sundram
hard coding the values maybe the problem. On 15 April 2013 21:43, Malay Keshav malay.kes...@gmail.com wrote: Your code should be working fine.Your output matches with one generated by my code for both the large and small dataset.. Are you sure the judges response is incorrect ? On Tue,

[gcj] Re: Tic tac toe problem in google code jam

2013-04-15 Thread sweta sharma
On Sunday, 14 April 2013 09:44:14 UTC+5:30, sweta sharma wrote: I wrote the following program . The program is giving correct output for theinput file but the program isnt accepted...Its showing that its Incorrect...Can someone please tell me what the problem is ? Source code :