Code removed after ACC. My WA cause was a function checking if a given (x, y) position is in the chess table and i was checking
if (x < 0 || y < 0 || x > 8 || y > 8)
return 0
but should been x >= 8 or y >= 8
Anyway. The test case which made me see this error
was the following ...
Search found 13 matches
- Thu Jul 24, 2008 5:33 am
- Forum: Volume 101 (10100-10199)
- Topic: 10196 - Check The Check
- Replies: 77
- Views: 35945
- Tue Jul 22, 2008 12:07 am
- Forum: Off topic (General chit-chat)
- Topic: Support for Functional programming languages
- Replies: 1
- Views: 36639
Re: Support for Functional programming languages
I guess ACM sticks in C, C++, Pascal and JAVA because this are the ICPC languages(I think). But I guess other languages wouldn't hurt. LISP support would be a nice idea!
- Sun Jul 13, 2008 7:30 pm
- Forum: Volume 4 (400-499)
- Topic: 401 - Palindromes
- Replies: 196
- Views: 58131
Palindromes 401 WA
Hello,
I tried solving Palindromes(401) problem. But keep getting Wrong Answer
although I searched the forums for test cases and in all of them my code worked correct.
Here is my code:
#include <stdio.h>
#include <string.h>
/* check if a given string is palindrome */
int isPalindrome(char *s ...
I tried solving Palindromes(401) problem. But keep getting Wrong Answer
although I searched the forums for test cases and in all of them my code worked correct.
Here is my code:
#include <stdio.h>
#include <string.h>
/* check if a given string is palindrome */
int isPalindrome(char *s ...
- Fri Apr 13, 2007 10:45 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10346 - Peter's Smokes
- Replies: 46
- Views: 23990
- Fri Apr 13, 2007 7:02 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10346 - Peter's Smokes
- Replies: 46
- Views: 23990
10346 WA
I have made the 10346 problem but got Wa. I searched the forums and found the smart formula: sumciggaret=n+(n-1)/(k-1); I did this and got AC. The problem is with my code, the first idea i had i got WA, the problem testcases works fine and also some other testecase i created from my AC program are ...
- Wed Apr 11, 2007 9:01 pm
- Forum: Volume 102 (10200-10299)
- Topic: 10235 - Simply Emirp
- Replies: 150
- Views: 51264
- Sun Mar 25, 2007 7:15 pm
- Forum: Volume 4 (400-499)
- Topic: 494 - Kindergarten Counting Game
- Replies: 119
- Views: 37302
- Sat Mar 24, 2007 6:35 pm
- Forum: Volume 4 (400-499)
- Topic: 494 - Kindergarten Counting Game
- Replies: 119
- Views: 37302
494 - Kindergarten Counting Game
Hello,
I checked the forums for same test cases over 494 Kindergarten Countring problem...
and everything works fine! but i got WA!
Here is my C Code:
code deleted
Any ideas why i got wa?
I checked the forums for same test cases over 494 Kindergarten Countring problem...
and everything works fine! but i got WA!
Here is my C Code:
code deleted
Any ideas why i got wa?
- Thu Mar 08, 2007 11:47 pm
- Forum: Off topic (General chit-chat)
- Topic: Problem
- Replies: 7
- Views: 18071
Now i see that i can visit the pages from
http://online-judge.uva.es
but not acm.uva.es but don't know why?
http://online-judge.uva.es
but not acm.uva.es but don't know why?
- Wed Mar 07, 2007 11:18 pm
- Forum: Off topic (General chit-chat)
- Topic: Problem
- Replies: 7
- Views: 18071
Problem
Hello,
yesterday I was submitting problems in acm.uva.es/problemset, at once i coudn't see the page! Page wasn't found as it was down, I told a friend but everything works fine for him, for me too, I could visit all the sites in net but not acm.uva.es, it couldn't be found!
I'm now connected through ...
yesterday I was submitting problems in acm.uva.es/problemset, at once i coudn't see the page! Page wasn't found as it was down, I told a friend but everything works fine for him, for me too, I could visit all the sites in net but not acm.uva.es, it couldn't be found!
I'm now connected through ...
- Mon Mar 05, 2007 1:32 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10189 - Minesweeper
- Replies: 418
- Views: 124945
- Sun Mar 04, 2007 9:45 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10189 - Minesweeper
- Replies: 418
- Views: 124945
10189 WA
I have made the minsweeper program but i got WA,
I checked some testcases I found in the forums and everything works fine,
any ideas where the probelm is?
I'm a bit complicate with all thes \n that can give a WA, any suggestion would be very hepful, thanks.
I checked some testcases I found in the forums and everything works fine,
any ideas where the probelm is?
Code: Select all
Code, deleted, thanks