Search found 22 matches: 10363
Searched query: 10363
- Sun Mar 12, 2017 9:41 am
- Forum: Volume 103 (10300-10399)
- Topic: 10363 - Tic Tac Toe
- Replies: 54
- Views: 31773
Re: 10363 - Tic Tac Toe
Finally I got AC using Python . But I suppose input data may have garbage in the last (e.g. additional space), so length for every row input is NOT 3...
- Mon Apr 27, 2015 6:22 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10363 - Tic Tac Toe
- Replies: 54
- Views: 31773
Re: 10363 - Tic Tac Toe
pls anybody help me..!! i am new poster in this site.. i don't know why i am getting WA....on this problem.. #include<stdio.h> #include<string.h> #include<ctype.h> int main() { int i,j,x_count,o_count,flag_x,flag_o,t,test; char B[10][10]; //freopen("c.txt","r",stdin); scanf("...
- Fri Jan 10, 2014 12:39 am
- Forum: Volume 103 (10300-10399)
- Topic: 10363 - Tic Tac Toe
- Replies: 54
- Views: 31773
Re: 10363 - Tic Tac Toe
Thanks to every one who contributed their knowledge to this. I appreciate it My 2 cents: Make sure to skip unwanted input once you exit out of a for-loop early. So if you are reading in 9 values (each spot on the board), make sure to skip over the remaining values if you happen to exit the for-loop ...
- Tue Dec 03, 2013 11:54 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10363 - Tic Tac Toe
- Replies: 54
- Views: 31773
Re: 10363 - Tic Tac Toe
Try the I/O in this thread.
- Sun Jul 21, 2013 12:22 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10363 - Tic Tac Toe
- Replies: 54
- Views: 31773
- Thu Mar 28, 2013 10:37 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10363 - Tic Tac Toe
- Replies: 54
- Views: 31773
Re: 10363 - Tic Tac Toe
ohh thanks sir.... :@brainfry...
- Thu Mar 28, 2013 9:30 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10363 - Tic Tac Toe
- Replies: 54
- Views: 31773
Re: 10363 - Tic Tac Toe
.XX
XOO
XOO
XOO
XOO
- Thu Mar 28, 2013 8:58 am
- Forum: Volume 103 (10300-10399)
- Topic: 10363 - Tic Tac Toe
- Replies: 54
- Views: 31773
Re: 10363 - Tic Tac Toe
how become this a valid tic tac game?????
1
XXX
XOO
XOO
why this case indicates "yes" as we see x wins 2 time how this is possible...??????
1
XXX
XOO
XOO
why this case indicates "yes" as we see x wins 2 time how this is possible...??????
- Sat Dec 29, 2012 11:32 am
- Forum: Volume 103 (10300-10399)
- Topic: 10363 - Tic Tac Toe
- Replies: 54
- Views: 31773
Re: 10363 tic tac toe
Click my submissions to see the reason for your compile error.
don't use system("pause");
don't use system("pause");
- Thu Dec 27, 2012 9:31 am
- Forum: Volume 103 (10300-10399)
- Topic: 10363 - Tic Tac Toe
- Replies: 54
- Views: 31773
10363 tic tac toe
i can not find my compilation error #include<iostream> using namespace std; int main() { int p=0,c,b,check=0,repeat; cin>>repeat; do { char y='y'; char a[3][3]={'.','.','.','.','.','.','.','.','.'}; p=0; do { system("cls"); for(int i=0;i<3;i++) { for(int j=0;j<3;j++) { cout<<a [j]; } cout<...
- Sat Nov 12, 2011 10:43 am
- Forum: Volume 105 (10500-10599)
- Topic: 10515 - Powers Et Al.
- Replies: 124
- Views: 42902
Re: 10515 - Power et al.
... and guys This is sooo number theory.... just try to find the last digit of 'm' & ckeck only da last two digit of 'n'... suppose.. m=298 n=10363 Here last digit of m=8 so check only the recurrence of last digit of 8 that is 8,4,2,6 And last 2 digits of n=63.. 63%4 = 3 The 3rd recurrence ...
- Thu Sep 01, 2011 8:07 pm
- Forum: Volume 116 (11600-11699)
- Topic: 11623 - Tic Tac Toe
- Replies: 6
- Views: 4749
Re: 11623 - Tic Tac Toe
How to solve this problem? I solved 10363 but I am getting TLE for this one(11623). Please can someone describe an efficient algorithm? I just store the input as a table in a 2D array and compare vertically, horizontally and diagonally to check ...
- Thu Sep 01, 2011 7:07 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10363 - Tic Tac Toe
- Replies: 54
- Views: 31773
Re: 10363 - Tic Tac Toe
34 XXX XOO XOO OXX XOO XXO X.. X.. X.. X.. X.. O.. X.X ... .X. O.O ... .O. X.O XO. XOX X.O XOO XXX OXO XXX OXO XXX .O. .O. OOO .X. .X. XOX OXO XOX XXX OOO X.O X.O ..X X.. X.X .OO XOO X.X OO. X.X X.O O.X X.O X.O OO. XXX X.O O.X OOX X.O O.. XXO X.O O.O X.. ... ... ... ... .X. ... ... .O. ... OO. XXO ...
- Mon Apr 04, 2011 9:02 am
- Forum: Volume 103 (10300-10399)
- Topic: 10363 - Tic Tac Toe
- Replies: 54
- Views: 31773
Re: 10363 - Tic Tac Toe
Getting WA... but why?? /*in the name of Allah */ # include <list> # include <deque> # include <bitset> # include <algorithm> # include <functional> # include <numeric> # include <utility> # include <sstream> # include <iostream> # include <iomanip> # include <cstdio> # include <cmath> # include <cs...
- Mon Jan 10, 2011 7:46 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10363 - Tic Tac Toe
- Replies: 54
- Views: 31773
10363 - Tic Tac Toe
Can anyone please help me with my code ? M getting W/A :( m i missing any important part? thanks in advance #include <stdio.h> #include <iostream> #include <vector> #include <map> #include <algorithm> #include <string.h> using namespace std; #define fo(i,start,end) for(int i=start;i<end;i++) #define...