Heres my code hoping any help, it throws me a RTE i have removed leading and trailing spaces but it still throws me the error, test inputs (the ones from the problemset ) are showing correct solution, so if you have another inputs they will be helpful too. thx
public class Main {
static long ...
Search found 2 matches
- Sat Feb 20, 2010 4:02 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 320772
- Sat Feb 20, 2010 3:44 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 320772
Re: 100
Hi Can anyone review my code and check why is it sending a RTE? im removing trailing and leading spaces so... please help
public class Main {
static long count;
static long max;
static long[] array;
public static void main(String args[]) throws java.io.IOException{
java.io.BufferedReader ...
public class Main {
static long count;
static long max;
static long[] array;
public static void main(String args[]) throws java.io.IOException{
java.io.BufferedReader ...