Search found 9 matches
- Sun Mar 12, 2017 9:41 am
- Forum: Volume 103 (10300-10399)
- Topic: 10363 - Tic Tac Toe
- Replies: 54
- Views: 33426
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...
- Fri Jul 18, 2014 3:10 am
- Forum: Volume 119 (11900-11999)
- Topic: 11995 - I Can Guess the Data Structure!
- Replies: 60
- Views: 19390
- Sun Jan 30, 2011 1:55 pm
- Forum: Volume 119 (11900-11999)
- Topic: 11902 - Dominator
- Replies: 20
- Views: 14297
Re: 11902 - dominator
Thanks to Mehadi, your WA code active me write AC code.
But I still don't know what bugs in your WA code.
But I still don't know what bugs in your WA code.
- Sat Mar 22, 2008 5:47 am
- Forum: Volume 101 (10100-10199)
- Topic: 10109 - Solving Systems of Linear Equations
- Replies: 18
- Views: 10603
why WA?
my WA code is here, why got WA???
could someone give me more test case and correct solution?
really need help..
PS. Finally I got AC, and remove my code, I think WA due to wrong blank line during output
Try the cases.
Input:
3
4 4
0 1 1 1 3
0 0 0 0 0
0 0 0 1 1
0 1 1 2 9
0
following is ...
- Sun Mar 16, 2008 12:16 pm
- Forum: Volume 114 (11400-11499)
- Topic: 11417 - GCD
- Replies: 11
- Views: 8329
Yes, you are right! thanks a lot!emotional blind wrote:your GCD function doesn't return if x!=0 && y!=0.
changetoCode: Select all
if(x<y)GCD(x,y%x); else GCD(y,x%y);Code: Select all
if(x<y)return GCD(x,y%x); else return GCD(y,x%y);
- Sun Mar 16, 2008 8:07 am
- Forum: Volume 114 (11400-11499)
- Topic: 11417 - GCD
- Replies: 11
- Views: 8329
11417 - GCD
solved!
- Sun Mar 16, 2008 6:30 am
- Forum: C++
- Topic: void main on-line judge compiler error?
- Replies: 2
- Views: 2448
void main on-line judge compiler error?
why following code on-line judge compiler error?
when I using following code, it's ok.
I want to ask, when I using int main(),
what value should I return?return 0? or other value?
and why I can't use void main instead of int main?
Code: Select all
void main(){
}
Code: Select all
int main(){
return 0;
}
what value should I return?return 0? or other value?
and why I can't use void main instead of int main?
- Mon Aug 13, 2007 10:53 am
- Forum: Volume 1 (100-199)
- Topic: 109 - SCUD Busters
- Replies: 96
- Views: 37031
Re: [109] SCUD Busters
hi~
I am trying to solve this problem but I keep receiving WA.
I really don't know why my solution doesn't work.
In the problem description,
Each SCUD missile (anitary leansing niversal estroyer) that lands within the walls of a kingdom destroys that kingdom's power plant (without loss of ...
I am trying to solve this problem but I keep receiving WA.
I really don't know why my solution doesn't work.
In the problem description,
Each SCUD missile (anitary leansing niversal estroyer) that lands within the walls of a kingdom destroys that kingdom's power plant (without loss of ...
- Mon Aug 13, 2007 10:50 am
- Forum: Volume 1 (100-199)
- Topic: 109 - SCUD Busters
- Replies: 96
- Views: 37031
Re: Hi!
Hi!
I am also trying to solve this problem...
I don't know what's wrong...
If SCUD hits the wall than is it counter as it hit the convex polygon or not ??
Could anyone who got AC tell me what is is output for this input:
4
0 0
1 1
1 0
0 1
4
10 10
20 10
20 20
10 20
-1
1 1
15 10
And could ...
I am also trying to solve this problem...
I don't know what's wrong...
If SCUD hits the wall than is it counter as it hit the convex polygon or not ??
Could anyone who got AC tell me what is is output for this input:
4
0 0
1 1
1 0
0 1
4
10 10
20 10
20 20
10 20
-1
1 1
15 10
And could ...