Search found 29 matches
- Mon Dec 29, 2003 10:27 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10189 - Minesweeper
- Replies: 418
- Views: 116553
- Sun Dec 14, 2003 11:49 am
- Forum: Java
- Topic: problem of String
- Replies: 1
- Views: 2270
Think of it as like printing on a typewriter, there are two different things that you have to do for a line to be printed. You hit enter and it takes you down to the next line. Then you push the roll back over to the other side. These commands are called line feed and carriadge return. you're escapi...
- Sun Dec 14, 2003 11:36 am
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 106293
I've had similar errors like this using UVA's java compiler. Sometimes a program will crash or perform differently when running a command on one line instead of breaking it into seperate lines. Logically your code should be, and (using a good compiler) is the same, but their compiler must mix up cod...
- Thu Dec 11, 2003 5:25 am
- Forum: Java
- Topic: JAVA-Difficulties We Face
- Replies: 31
- Views: 30066
You have no idea
Yeah, well I got screwed by the actual ACM regional competition judge. I submitted a problem in java and I kept getting "Incomplete Output." Turns out my problem was crashing out early because I didn't make my array large enough. So we coded it out in C++ and quickly found the error. So ye...
- Mon Dec 08, 2003 10:42 pm
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 106293
I wrapped your code in a try/catch block and had the catch do a while( true ); The purpose, well, if you're currently getting WA, then if an exception is thrown, you'll get TLE instead. But on your program, no dice. It still exits after like 1.3 seconds with WA. Looking through your code, I don't se...
I feel like a broken record. Most of the java.util functions don't work with UVA's java compiler. In addition, they are running a gcj compiler that supports some java 1.2 functions, so if it was added in 1.3 or 1.4, tough luck. It's also a pain in the butt trying to use one of the few things that th...
- Sun Dec 07, 2003 11:05 pm
- Forum: Volume 103 (10300-10399)
- Topic: 10307 - Killing Aliens in Borg Maze
- Replies: 54
- Views: 23569
- Sun Dec 07, 2003 10:59 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10004 - Bicoloring
- Replies: 93
- Views: 42081
This compile error is given by the judge when you try using a function that isn't recognized by their compiler. Sure enough, your code compiles fine using the standard java compiler, but the judge's Java support sucks. Note to judge: Quit upgrading your Pascal compiler and support some real java alr...
- Fri Sep 26, 2003 12:15 am
- Forum: Java
- Topic: Why no runtime error?
- Replies: 4
- Views: 3244
The problem lies with how they run the code. You're getting a wrong answer because it's printing out the error message. It doesn't throw errors back to the operating system like C or C++ code. It just keeps it in the Java environment. So basically, the only thing that the operating system sees when ...
- Tue Jun 17, 2003 6:55 am
- Forum: Java
- Topic: Java input file
- Replies: 2
- Views: 2971
Reading from a file
To the best of my knowledge, all UVA problems are reading from standard in. This problem was probably taken from an actual ACM competition, which, at least around here, read from a file. ( generally 'a.in' and so fourth ) Try solving the problem reading from standard in. Post again if you're having ...
- Tue Mar 11, 2003 11:54 am
- Forum: Other words
- Topic: World Finals Warmup
- Replies: 16
- Views: 4846
- Tue Mar 11, 2003 11:40 am
- Forum: Other words
- Topic: World Finals Warmup
- Replies: 16
- Views: 4846
- Tue Mar 11, 2003 11:38 am
- Forum: Other words
- Topic: World Finals Warmup
- Replies: 16
- Views: 4846
- Tue Mar 11, 2003 11:31 am
- Forum: Other words
- Topic: World Finals Warmup
- Replies: 16
- Views: 4846
World Finals Warmup
I can't view problemset. It says 404 Not Found. Anyone else have this problem?
- Tue Dec 17, 2002 2:14 pm
- Forum: Volume 7 (700-799)
- Topic: 739 - Soundex Indexing
- Replies: 39
- Views: 17613