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?

Use any class name (make sure classes are public)
General Compilers?

gcc 5.3.1
Java 1.8.0_71
Python 2.7.10 and 3.4.2
ghc 7.8.4
General When I use javac it says that it's not recognized. What do? I am on a Windows computer.

I think you can try to use eclipse, I don't know how to compile java on windows
A - Code Analysis Can CGOTO be the last command? If so, does the program then goto the instruction or end?

Yes, that is a correct interpretation (it can do either).
H - Team Matchmaking Is the input team1 team2 repeatedly or is the first N values all team1 and then the second N values all team2?

Please read the problem. It asks you to split them into teams.
A - Code Analysis CGOTO definition seems ambiguous.

Agreed.
Instead of
"meaning that
the program may either jump or continue to the next instruction."
it should have read
"meaning that
the program may behave like it encountered either GOTO or NOP."
General If you are receiving Run-Time Error with Java...

Be sure not to place your class in a package!
A - Code Analysis If "NOP" is reached, and it is not the last instruction, then that line is reachable and the following - yes? (Im assuming the "continue" in NOP means to do that line and then proceed, not skip)

Please read the problem statement. Or, better yet, read your own question - "if NOP is reached, is it reachable"? ...yes?
G - Snakes and Ladders Can you tell me the run time error I am receiving?

Index out of range.
D - Road Network Can it be impossible to reach the number of cities given?

Read the problem statement. It is implied by constraints.
C - Online Gaming is the point (0,10) part of midlane?
is the point (80,90) part of midlane?

What was the problem asking about?
General If the submitted program encounters an infinite loop, will the output give 'Runtime error', 'Wrong output', or something else?

Runtime error
General If you got Time Limit Exceeded on Problem F...

Time limit is increased from 5 seconds to 10 seconds. All solutions are being re-judged.
C - Online Gaming When a player is not more than 10 meters from the main diagonal, is that inclusive or exclusive?

How about you answer this - "is 10 more or not more than 10?"
C - Online Gaming Does 10 meters mean 10 grid spaces away, or the actual distance on the plane?

eg is (0,0) 3 squares away from (1, 2)?

Euclidian distance is assumed in these types of problems, unless otherwise stated. And it is a point-to-line distance. No, you think about it.
C - Online Gaming Should we worry about out of bounds?

Your solution will only be tested on cases that meet all restrictions in the problem statement.
C - Online Gaming If a player is exactly 10 meters away from the diagonal, should they be considered in the midlane?

How about you answer this - "is 10 more or not more than 10?"
A - Code Analysis What is my runtime error ?

recursion depth
General About high school teams...

High school teams have been changed to official contestants at Shaheed's request.
A - Code Analysis What is my Run-Time Error for A?

Again index. Maybe you should look for those by now :)
E - Secret Santa Time limit for E?

5 seconds.
F - Spell Checker Suggestions Time Limit for F?

10 seconds (changed from 5 second during the contest).
General Time limite for A?

5 seconds.
G - Snakes and Ladders If you land on a numbered tile, and then you are moved to land on another numbered tile, do you move again (3 total moves)?

Read the problem statement. There is a guarantee related to this.
General Whats the longest running time of our A?

It is taking very long - more than 30 seconds. I stopped it after that
A - Code Analysis Can a goto go backwards? Example: goto 2 when you are on line 3.

Read the problem statement. It is implied by constraints.
A - Code Analysis What is my runtime error?

I see that you got your solution working.
D - Road Network Can we get a clarification why D was incorrect for us; is our formula or how we are calculating modulus?

I think your calculation is overflowing an integer, but I'm not sure.
F - Spell Checker Suggestions Whats the longest running time of our F?

It is taking very long - more than 30 seconds
A - Code Analysis If the program has a line 1 goto 1, it enters an infinite loop. Does this mean the rest of the code is unreachable?

Read the problem statement.
F - Spell Checker Suggestions how long does my code for F take to run?

It is taking very long - more than 30 seconds
A - Code Analysis Do we have to consider the entire tree of possibilities for a cgoto?

You have to consider everything that is necessary to get the correct answer.
A - Code Analysis What is my runtime error for A

IndexOutOfBoundsException
F - Spell Checker Suggestions What is the longest running time for our F?

It is taking very long - more than 30 seconds
D - Road Network Can we get clarification why D was incorrect for us? Is it our formula or how we are calculating modulus?

Due to your position on the scoreboard, I cannot give you a specific answer.
C - Online Gaming Could you tell us if our error for C is a calculation error, or an output format error?

It is a calculation error.


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