View Clarifications

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

ProblemClarification
General I/O?

Please use standard in and standard out!

Input --
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
F - Trucking Maximum height allowable on roads?

Good question... let me check data.

Looks to me like it is 10,000.
B - Lawrence of Arabia What is the time limit?

All problems have a 5 sec limit
D - Walk in the Park How are the lines defined?
Which line(s) are 5 of 6 trees visible from in the sample input?

I do not understand the question. How is x=0 (or y=5) confusing?
It is easier to say that (6,3) is not visible. Other than that, the only other one you cannot see from x=0 is (6,2) (but you can see it from y=-1).

Just draw a picture. You know, x-axis, y-axis...
D - Walk in the Park From x = 0, only (-1,3), (4,2), (4,3), and (6,4) are visible because (4,2) and (4,3) obstruct (6,2) and (6,3), respectively.

From y = -1, only (-1,3), (4,2), and (6,2) are visible.

From y = 5, only (-1,3), (4,3), and (6,3) are visible.

From which line are 5 trees visible?

From all of them combined. I guess the sample input is there to clarify it.

The question was "what is the number of trees visible from some path?". I am trying hard to understand it the way you did, but just cannot see it. Especially because there is no word "maximum" or anything like that.

If they asked "from all paths" then you would probably look for the intersection. What about "from any path?" Hm, maybe that one would work?
G - When What is the maximum run of when statements in the loop?

I honestly do not know, shoot me :)

I don't think this problem was meant to be solved.
G - When Time limit?

Increased to 120 seconds, still times out.
General Mind increasing the duration of the contest for practice?

Sure thing

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