View Clarifications

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

General I/O?

Please use standard in and standard out!

Input --
Java: Scanner in = new Scanner(new BufferedReader(new InputStreamReader(;
C: scanf("%d %d", &integer1, &integer2);
C++: int x; cin >> x;

Output --
Java: System.out.println("asdf");
C: printf("%d %d", integer1, integer2);
C++: int x = 5; cout << x << endl;
General Java class names?

Please use the following class names (make sure classes are public):

Problem A - public class A { ... }
Problem B - public class B { ... }
. . .
General Compilers?

gcc 4.4.7
javac 1.6.0_37
Python 2.6.6
ghc 7.0.4
A - Gopher II what's wrong with your compiler

Which one?
D - Division your python is slow

I have not tested this set with Python, but I doubt time limits are the problem (the original contest is 13 years old).
D - Division Why am I getting runtime errors for D even though it runs perfectly in Python 2.7.8 on my computer?

As can be seen on this page, we have 2.6.6. I will take a look.
Sorry - my bad, Kent's Python solution was accepted. How about you bug him? Or do you still think there is something fishy?

[Kent expansion: there are a number of degenerate cases in the input. Check your code to ensure that all valid inputs are handled.]
General What is a submission error?

It means that the judge is having problems. Working on it!
General RTE in Python

Common to several submissions

Zero-length field (or something like that)

Ultra Cool Programming Contest Control Centre v1.8
Copyright (c) 2005-2010 by Sonny Chan