my programme generates exactly the same answer as urs (i pasted both our outputs into a text file to look at it very closely), but it always get WA. this is stupid =(, can someone point out where's problem?
i modified it to an applet u can try here
here is my code:
[java]
class Main
{
static int ...
Search found 5 matches
- Thu Nov 04, 2004 4:18 pm
- Forum: Volume 4 (400-499)
- Topic: 495 - Fibonacci Freeze
- Replies: 222
- Views: 59959
- Mon Nov 01, 2004 4:48 pm
- Forum: Volume 4 (400-499)
- Topic: 401 - Palindromes
- Replies: 196
- Views: 58016
401 palindromes WA help
hi everyone, i am completely out of ideas why i'm getting WA, so pls help!
this is my solution (JAVA) to problem 401 palindromes :
the comments are not included when i submit, and the classname is changed to Main also.
[java]
class palindrome{
static char[] input=null;
static boolean ...
this is my solution (JAVA) to problem 401 palindromes :
the comments are not included when i submit, and the classname is changed to Main also.
[java]
class palindrome{
static char[] input=null;
static boolean ...
- Mon Nov 01, 2004 12:33 pm
- Forum: Java
- Topic: NEED HELP, PLEASE!!! URGENT!!!!!!
- Replies: 2
- Views: 3029
from what someone told me, input and output are separate streams; theres no need to leave lines or anything, just follow closely the output requirement. termination of input is when theres a 'EOF' (end of file). i'm not quite sure what this is in java and how to detect it. if someone knows, pls post ...
- Fri Oct 01, 2004 2:40 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 317957
- Wed Sep 29, 2004 9:52 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 317957