# 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.9.2
javac 1.6.0_41
Python 2.6.6
ghc 7.0.4
A - Count Me In What is the size of a triangle? Does this refer to the area, length of one side, perimeter?

Sorry, that is a typo - should read 'side' not 'size' (like in the Output section)
General Does the output have to be all at once, or is one at a time fine?

As long as you output everything that is required, you can do either.

More specifically - you can output answer after each case or process all cases and then output all the answers.
General What is the significance of verdict 'Unknown'?

That means that something went wrong, will look into it.
D - Numbers are Easy When we type something like 24, we get something like 2........
Are we doing something wrong?

Yes.
Do not type.

This is what judge does:
- redirect input file to it and record the output
- diff with the known output

Should not tell you this, you should have learned it during the practice (problem A) - if you read an integer, you have to "swallow" the next line character.

So, this won't work:
int n = input.nextInt();
while(n-- > 0)
String line = input.nextLine();
first line will always be empty

This will work:
int n = input.nextInt();
input.nextLine();
while(n-- > 0)
String line = input.nextLine();

This applies to scanf("%d") as well
E - Best Buddies Does the output need to be in lexicographical order?

The output has to be in the order described in the problem statement.
E - Best Buddies Clarification: Does the second set of input names have to be in alphabetical order before calculating the output?

No, for each name in the "second set" of input names, you output his/her team mates in order given.
In other words, you do not sort output to all queries, you just output it.
C - Addition Affliction Should the output be after every line?

You can either output the line-by-line or all lines at once, it is up to you.
D - Numbers are Easy what is 64 bit signed integer

long in Java, long long in C/C++
B - Triangulate This! Does "minimum number of triangles" mean an integer? So if I have 3.5 B triangles cover an A triangle, am I supposed to output 4?

Or better yet, draw a few triangles.
G - Serves Me Right Will the time value go past midnight?

No.
C - Addition Affliction + makes string split throw an exception when used as a delimeter, could not find an explanation in the documentation, is there a reason for that?

use split("[+]")
E - Best Buddies team148 received a submission error

It is Time Limit Exceeded.

For some reason Java solutions to Buddies crash the server, so I have to judge them manually
General Does it matter on what lines our output is?

Do not output extra lines, if that is what you are asking. See the sample I/O
General What happens when the clock hits 5 and our submmitions have not been judged?

They will be judged eventually.
General What does Submission Error mean?

Means server is crashing, I have to rejudge some Java solutions manually.

HELP ARRIVING IN NO TIME.
DARKO.
E - Best Buddies team148 received a submission error again

it is TLE
General Where are my solved problems?!?

Scoreboard has been frozen for a while now.
General THANK YOU SENPAI.

YOU ARE WELCOMEE
General SENPAI I RAN OUT OF TIME. MERCY.

OK!!!!11!!1!!
Refresh the page now and then?

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