Search found 5 matches

by mario
Mon Jul 23, 2007 4:17 am
Forum: Volume 112 (11200-11299)
Topic: 11224 - Let's swim!
Replies: 17
Views: 7950

It turned out that there was a hole in my algorithm. Actually two of them :D
Last input that TimeString posted helped me find one. The other hole was at the time to find what medal would get Gustavo in the finals. Well thanks for the help you guys.
by mario
Thu Jul 19, 2007 2:29 am
Forum: Volume 112 (11200-11299)
Topic: 11224 - Let's swim!
Replies: 17
Views: 7950

Recode? You probably fixed something different by accident when you recoded and that's probably why you got AC. But if I write the same code again, I might not run lucky enough to fix any detail by accident. I did recode some stuff, but I can only think there is something wrong with my logic. Some c...
by mario
Wed Jul 18, 2007 4:41 am
Forum: Volume 112 (11200-11299)
Topic: 11224 - Let's swim!
Replies: 17
Views: 7950

I get Wa.

My code gives me WA. It works perfectly with the already posted tricky inputs. I don't know why I keep getting WA. Is there anything with the input output style that could give problem? Or can anyone give me other special inputs that I should try? I am out of ideas. Thanks.
by mario
Thu Jul 12, 2007 3:27 pm
Forum: Volume 104 (10400-10499)
Topic: 10469 - To Carry or not to Carry
Replies: 24
Views: 10428

Thanks, that was all. I got AC when I changed to cin >> x >> y.
by mario
Tue Jul 10, 2007 8:59 pm
Forum: Volume 104 (10400-10499)
Topic: 10469 - To Carry or not to Carry
Replies: 24
Views: 10428

I keep getting wrong answer

My code is in C++, is really simple. It works well in my computer but maybe I should input some critical inputs. I just keep getting WA and I have no idea why. Here is my code: /* problem# 10469 */ #include <iostream> .... .....deleted ..... ..... int main () { while( !cin.eof() ) { ..... ..... ..de...

Go to advanced search