2012 SCUSA Regional Programming Contest Local Doc Server
This documentation will be available to teams during contst.
- Documentation
- PC^2
- C/C++
- Java Doc
- Complete Java JDK (installed JDKs have demo, db removed)
- Scripting Languages (only to be used in Scripting Contest)
- STDIO Examples
- Problem Sets and Scoreboards
- Errata
Please use this documentation as you see fit. A best effort has been made to provide
this info accurately.
Errata
Contest Wide Errata
Problem 1 :: Bolinger Bands
Clarifications:
The range for price is supposed to be ≥ 0.00 and ≤ 2000.00
The SMA and Sigma should be updated before making a sell/buy decision at the end of the day.
Input:
All prices are listed in chronological order ragardless of what the date is
Sample Input:
The line with:
ACME 09/06/012 678
Should be:
ACME 09/16/012 678
Sample output:
The output should include 2 digits after the decimal.
Problem 3 :: Abusive Tactics
-
Clarification: The definition of a word as stated in the problem is ambiguous and has been updated on the web site. The correct definition is as follows:
A word is any sequence of uninterrupted alphabetic characters (i.e. [a-z][A-Z]). Anything that is not an alphabetic character terminates a word. A word begins with an alphabetic character no matter what comes before it.
Sample Input in the problem statement:
The word "and" is missing form the ignore list
Additionally, new lines are considered whitespace.
-
Sample Input:
The sample input in the both test cases are missing the bars indicating the end of a document.
-
Output:
In the output description, the colon ':' for each test case is followed by a space
-
Sample Output:
In Case 1, Jonathon Joestar should appear after Dio Brando.
Corrected output for Case 2 is as follows:
Case 2
you : [ Isaac Traxler, Kathy Traxler, Ken Don]
is : [ Isaac Traxler, Kathy Traxler, Ken Don]
of : [ Isaac Traxler, Ken Don]
Problem 5 :: Flood fill
Same input:
The sample input should be as follows
2
4
4
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
4
0 0 16
2 2 16
1 1 16
3 3 16
4
4
1 1 1 1
1 1 1 1
1 1 1 1
1 1 1 1
2
0 0 4
3 3 4
Output:
Disregard the comments on printing saturation levels. There are two possible outputs, atlantis survived or it flooded. See the sample output for formatting.
Problem 6 :: Build Engineer
Sample Output:
The final test case should be as follows:
Product 3:
Build 1:
ProjectB
ProjectC
ProjectA
Clarification:
Project names do not inlude spaces
Problem 7 :: Mission Impossible
Clarification: The rover will move to the exact location of the waypoint at an undefined speed while performing its experiment and incur no addition time/energy cost.
Problem 8 :: Golumb Cages
Clarification: Assume division is only possible where there is no remainder.
Return to Errata Top
Return to Top of Page
Baylor Errata
Return to Errata Top
Return to Top of Page
LETU Errata
Return to Errata Top
Return to Top of Page
LSU Errata
Return to Errata Top
Return to Top of Page