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:

Problem A - public class A { ... }
Problem B - public class B { ... }
. . .
E - Scrolling Sign If two consecutive words are equal, may they be displayed at the same time?

C - Coliding Traffic Is there a border of the lake?

C - Coliding Traffic Can two boats be collided initially (at t=0)?

A - Unique Snowflakes once we start packaging, do we have to package all the remaining snowflakes in
the list?

B - Ocean Currents What is the memory limit?

Limited by the system, let me find out.

2GB in Java, I imagine same in C/C++.
D - Zerg Rush!!! Does a zergling move even when there are no opponents?


University of Calgary Programming Contest Control Centre v1.6
Copyright (c) 2005-2007 by Sonny Chan