Please Find edge case i am missing in code

Here is the submission link to TicTacToe:: CodeChef: Practical coding for everyone

what i did is I took the submission of ascii value from all rows columns and diagnol, Then I found the reminder of those 8 sums with 88(‘X’) and 79(‘o’) and if either of them is 0 , that means there is same symbol in that row columns or diagnol. Also what i did is if (9-blankspace)/2==O’s then do the above algorithm , else cout 3

Edit:

Did this really need another thread?

3 Likes

CodeChef: Practical coding for everyone here it is

1 Like

Thanks - TCTCTOE - Editorial - #44 by ssjgz.