My code works perfectly fine on my computer, but seems to cause runtime errors for problem set 101. I've spent hours tearing my hair out over this, please help. >_<
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in ...
Search found 4 matches
- Mon Apr 20, 2009 4:35 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 110349
- Mon Apr 20, 2009 2:48 pm
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 110349
Re: 101 - RE (java)
Changed the code around a bit. Still can't get past the runtime error result on my submission. What could possibly be wrong? Can RTE mean exceptions were thrown?
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in ...
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in ...
- Thu Apr 16, 2009 12:13 pm
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 319888
Re: 100 - Wrong Answer!! Please help!!
No idea sorry. But try testing it out with your own numbers and see how far its off. Maybe that'll give you a clue on what's wrong.
- Wed Apr 15, 2009 9:44 am
- Forum: Volume 1 (100-199)
- Topic: 101 - The Blocks Problem
- Replies: 635
- Views: 110349
101 - RE (java)
My code works perfectly fine on my computer, but seems to cause runtime errors on this website. I already tried searching other topics but none were helpful.
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
StringTokenizer ...
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
StringTokenizer ...