This is regarding the problem Tic Tac Toe Tomek asked in round 0 of Code Jam this year. link:tic tac toe tomek. I had got correct for both small and large input at code jam but it is showing WA here at Code chef.
link:This is my solution- in python
1)I am not able to find a test case where the code has failed.Please help me check if there is some problem in the code 2)Also there could be possibility that i am not taking input correctly or there is some problem in the input file. i am taking input as 4 strings. there might also be a problem with the way i read blank line after each test case though it works fine on my system.
Please make appropriate suggestions. thanks in advance.