Please Find edge case i am missing in code

Here is the submission link to TicTacToe:: Solution: 46718125 | CodeChef

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

Solution: 46718125 | CodeChef here it is

1 Like

Thanks - TCTCTOE - Editorial - #44 by ssjgz.