Search found 1 match

by reZnor13
Mon Feb 28, 2005 3:31 am
Forum: Volume 100 (10000-10099)
Topic: 10018 - Reverse and Add
Replies: 169
Views: 43837

first of all, you need to be reading from standard input, not a file. also you dont need stringtokenizer, just do:

Code: Select all

s = in.readLine();
long i = Long.parseLong(s);
eval(i);

Go to advanced search