# UTS Programming Competition 2012

### From ProgSoc Wiki

Knockycode (Talk | contribs) m |
m |
||

Line 1: | Line 1: | ||

- | The 2012 Programming Competition, sponsored by Google, will see entrants race the clock to solve | + | The 2012 Programming Competition, sponsored by Google, will see entrants race the clock to solve as many problems as they can over four hours. The problems will range from simple beginner level problems, to more challenging problems. A '''free pizza lunch''' will be provided on the day! |

- | + | This free competition is open to all UTS students (from any faculty) and Progsoc members. We encourage both beginners and more experienced programmers to compete. Entrants may enter as individuals, or as teams of two or three. Prizes will be awarded to the best individuals and teams. | |

==Details== | ==Details== |

## Revision as of 13:49, 29 July 2012

The 2012 Programming Competition, sponsored by Google, will see entrants race the clock to solve as many problems as they can over four hours. The problems will range from simple beginner level problems, to more challenging problems. A **free pizza lunch** will be provided on the day!

This free competition is open to all UTS students (from any faculty) and Progsoc members. We encourage both beginners and more experienced programmers to compete. Entrants may enter as individuals, or as teams of two or three. Prizes will be awarded to the best individuals and teams.

## Contents |

## Details

**The competition will be held on:**

Saturday 11 August 2012 from 10.30am - 3:30pm EST

**The room location is:**

City Campus, Building 10, Level 3, Room 440

**Competition programming languages:**

- Java (Java SE Runtime Environment build 1.6.0)
- C (gcc version 4.5.1)
- C++ (gcc version 4.5.1)

**Marking of answers:**

Only the output of your code will be assessed for correctness. The methods used for evaluation of submitted solutions and ranking of teams will be similar to those used in the ACM International Collegiate Programming Competition:

Solutions to problems submitted are called runs. Each run is judged as accepted or rejected and the team is notified of the results as soon as possible.

Programs that compile, run, and produce output within the time limit are judged as follows:

- Trailing spaces and tabs, and trailing blank lines are trimmed.
- This output is compared with a similarly trimmed model answer.
- If the output and model answer are identical, then the solution is accepted.
- If not identical, all lines are stripped of their white space, all empty lines are removed and all text is converted to upper case.
- This new output is compared with a similarly treated model answer.
- If the new output and model answer are now identical, then the rejection message is Output Format Error.
- If not identical, the rejection message is Wrong Answer.
- Only the first error encountered in a submission will be notified.

Team rankings are determined by the following (in order):

- The most number of problems solved (accepted submissions)
- Lowest total elapsed time for solved problems
- Lowest penalty time for rejected submissions

## Registration

Individuals and teams (of 2 or 3 people) will be able to register their teams online by following this link: http://bit.ly/utsprogcomp_rego.

### Information/Practice Session

We will be hosting an information session to provide more information about the competition, and to provide a chance to practise using the competition software.

**The information/practice session will be held on:**

City Campus, Building 10, Level 3, Room 440 (same location as on the day of the competition)

**The room location is:**

Thursday, 2nd of August from 4PM to 8PM

**Agenda:**

Start time | End time | Activity |
---|---|---|

4:00PM | 4:15PM | Information Session |

4:15PM | 4:30PM | Logging in on the competition system |

4:30PM | 8:00PM | Working on practice problems |

For the people who cannot make it for the information session due to schedule conflicts, we can also answer questions about the competition and assist with logging in on the competition system after 4:30PM.

### Who Can Enter

- Current UTS students
- Both undergraduate and postgraduate students are eligible
- Students from ALL faculties are welcome

- Progsoc members

## Prizes

Prizes for the winning individuals and teams include:

- Sponsorship for the prestigious IBM ACM International Collegiate Programming Contest (eligible UTS teams only). The Faculty of Engineering and IT will pay the $150 team entry fee for the ACM-ICPC South Pacific Regional Contest. Note that eligibility requirements apply.
- Snuggies (perfect for keeping warm in winter!)
- Mugs (perfect for having the other version of java!)
- A tour of the awesome Google's Sydney office and the opportunity to speak to successful Google-ers

## Rules

- Entrants will have a total of 4 hours to solve as many problems as possible.
- Entrants are free to leave the room at any time for breaks.
- The time will
*not*be paused for lunch breaks. - Printed reference materials may be taken into the room. Use of the Internet or other online resources is prohibited.
- Mobile phones must be switched off for the duration of the contest, and either placed in bags or given to competition staff for safekeeping.
- Each team will have access to one PC running Linux.

## Example Problems

To cater for a variety of ability levels, the competition problem set will consist of a mix of easy problems and difficult problems.

### Easy Problems

These will be set at the level of Project Euler problems.

Example: Write a program that adds all the natural numbers (i.e. positive integers) below one thousand that are multiples of 3 or 5.

For more easy practice problems: Euler Problem Set

### Difficult Problems

These will be set at the level of ACM ICPC Regional Competition Problems. A few examples:

- Problem 3, 2006 South Pacific Regional Competition - Simple Encryption
- Problem A, 2008 South Pacific Regional Competition - Being Late

More ACM problems can be found at:

Test your solutions on the ACM-ICPC Live Archive Online Judge.