Search found 5 matches

by ice_mountain_
Thu Nov 04, 2004 4:18 pm
Forum: Volume 4 (400-499)
Topic: 495 - Fibonacci Freeze
Replies: 222
Views: 30926

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 mai...
by ice_mountain_
Mon Nov 01, 2004 4:48 pm
Forum: Volume 4 (400-499)
Topic: 401 - Palindromes
Replies: 196
Views: 31626

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 isPalindrome=fa...
by ice_mountain_
Mon Nov 01, 2004 12:33 pm
Forum: Java
Topic: NEED HELP, PLEASE!!! URGENT!!!!!!
Replies: 2
Views: 2536

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...
by ice_mountain_
Fri Oct 01, 2004 2:40 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 184512

ooo. thx, that was enlightening. sry abt the noobness
by ice_mountain_
Wed Sep 29, 2004 9:52 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 184512

i dont understand the input and output specification... is it that i should print a line everytime a line is entered, or wait till everything is entered then print them all? and how do i know if the input has terminated?

Go to advanced search