View Clarifications


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


ProblemClarification
General I/O?

Please use standard in and standard out!

Input --
Java: Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
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 { ... }
. . .
B - Dice throwing Do we really read from file or just stdin?

Stdin only, sorry - I missed the file reference, will remove.
H - Ants, Aphids and a Ladybug Why did my submission change from TLE to AC?

I increased the time limit. It was set at 5 secs because the reference solution took less than a second. Yours ran in less than 7 secs, which I thought was fine.
H - Ants, Aphids and a Ladybug Actually I knew it was inefficient :)

Well, it was correct and fast enough in my book :)

The latest one was correct and faster (<1sec), will change back to 5 secs.


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