Prof. Lee wrote earlier:
"Speed will not be graded. However, the grading script will, for the kind of input we've supplied already, stop your program after 20 seconds on a Sun Blade machine."
When I try to run my program on Andrew's linux boxes ("unix49"), it runs out of memory (even with the -mx64m flag)
However, when I switch over to sun14, here are 2 differing results:
* Result 1 *
[acz@unix14 workin]$ time java -mx64m Parser reut21000.plain crop -> 22 information 211 -> 349
real 0m16.801s
* Result 2 *
[acz@unix14 workin]$ time java -mx64m Parser reut21000.plain crop -> 22 information 211 -> 349
real 0m20.424s
As you can see, in 1 case the grading script would've been fine (<20 seconds), whereas in the other, it wouldn't have (>20 seconds).
Are factors like server load going to be taken into account when TAs are running the grading scripts on this homework?
Which servers should we run our programs on so we know that they will run successfully (and under 20 seconds) on the "Sun Blade machine" ?
Thanks for any info on this issue.
-Adam |