Search found 7 matches

by tellmewhy
Mon Feb 13, 2006 10:51 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 193874

haha.... 100 is solved liao.... juz realised that i forgort to check one of the limit.... thks ppl :lol:
by tellmewhy
Mon Feb 13, 2006 6:53 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 193874

approach is simple.... juz read from input and plug them into the formula...

juz want to ask.. anyone got accepted using java for this problem?? juz want to know if there is a living soul who can do this problem..... i got the same problem when i'm solving 10014 too....
by tellmewhy
Sat Feb 11, 2006 10:21 am
Forum: Java
Topic: Formatting decimal numbers in Java
Replies: 6
Views: 5967

haha... this is nice joke..... :D
by tellmewhy
Fri Feb 10, 2006 7:52 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 193874

help again... can see wat wrong??

Image
by tellmewhy
Thu Feb 09, 2006 11:34 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 193874

ok... i replaced the scanner class using the token..... now got a WA liao.... finally.... :D
by tellmewhy
Thu Feb 09, 2006 5:08 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 193874

wth???? so i need to write a similar type of class to scanner??? any help ppl?
by tellmewhy
Tue Feb 07, 2006 7:33 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 193874

100 Compile error 6 times... Help!!

my code: ------------------------------------------------------------------------------------- import java.util.*; class Main { static int Begin(int a, int b, int flag) { int count = 0, cyclelength = 0, c=0; int temp = b; if (a>b){ b=a; a=temp;} for (int i=a;i<=b;i++,count=0) { c=i; while(c!=1) { co...

Go to advanced search