View Clarifications


[ Contest Page | Scoreboard | Submissions | Clarifications | Help | Log In ]


ProblemClarification
General How is my code being compiled and run?

[Java(TM) SE Runtime Environment (build 1.7.0_11-b21)]
Java:
javac -Xlint:unchecked $classname.java
java -Xmx2g -Xss256m $classname
(The class name you choose does not matter, but it must be public.)

[gcc version 4.3.2 20081105 (Red Hat 4.3.2-7) (GCC)]
C:
gcc -O2 $problem.c -lm
C++:
g++ -O2 $problem.cc -lm

[The Objective Caml native-code compiler, version 3.12.1]
OCaml:
ocamlopt $problem.ml

[Python 2.6.1]
Python:
python -O $problem.py

[Glasgow Haskell Compiler, Version 6.10.1]
Haskell:
ghc --make -O2 $problem.hs

[Free Pascal Compiler version 2.2.2]
Pascal:
fpc -So -XS $problem.pas

[Scala compiler version 2.7.4.final]
Scala:
scalac $classname.scala
scala $classname

[Standard ML of New Jersey v110.74]
Sml:
echo -e "Group is\n\t$problem.sml\n\t$/basis.cm" > $problem.cm
ml-build $problem.cm $problem.main $problem-image
sml @SMLload $problem-image
General How do I read the input? Where do I put the output?

Use standard input and output.

For example:
C\C++: cin/cout, printf/scanf, ...
Java: scanner(slow) or BufferedReader(InputStreamReader(System.in)), System.out.println, ...
Python: sys.stdin.readline(), print, ...
Haskell: <-getLine, putStrLn, ...
General Can I change my password?

Yes, e-mail kevin.waugh@gmail.com with your andrewid and new password.
General What do the errors mean?

Accepted: You're solution is correct.
Wrong Answer: Your output is incorrect.
Presentation Error: Your output was incorrectly formatted.
Compile Error: Your program did not compile.
Time Error: Your program was too slow.
Runtime Error: Divide by zero, segfault, exception etc.


Ultra Cool Programming Contest Control Centre v1.7b
Copyright (c) 2005-2007 by Sonny Chan