Club Engineer News - July 2014

Club Engineer News - July 2014

July 2014 School Holiday Program wrap up

These holidays, nine of us worked on cracking the Robocup Rescue challenge.

Over five days and ten hours of hard work, the young engineers learnt some basic programming techniques, built their robots and applied what they had learnt to solving the many problems that comprise Robocup.

Watch the video here to see the challenges and successes of the week.

 If joining a Club Engineer holiday program next break interests you, call Peter on 0418 108 353 or visit our website at clubengineer.org/school-holidays for details. 

Australian Informatics Olympiad

We are in the early stages of planning a series of online lessons to help prepare students for competition in the Australian Informatics Olympiad. 

The AIO website describes the Informatics Olympiad as follows:

The Australian Informatics Olympiad Committee (AIOC) runs a number of activities aimed at high school students for enrichment and competition in computer programming and algorithm design. The pinnacle of these activities is sending a team of four overseas each year to represent Australia at the International Olympiad in Informatics.

The AIO webiste is here.

An example beginner problem is described below:

Sitting or Standing?

Input File: sitin.txt
Output File: sitout.txt
Time Limit: 1 second

A local musician is putting on a concert to raise money for charity. The concert will be held in the town hall, a spacious venue perfectly suited for such an event. There are r rows of seats, each containing exactly s seats. At most one person can sit on a single seat (that is, two people cannot share a seat).

There is a problem - the concert may have been overbooked! This means that if everybody who bought tickets comes to the concert, some of them might have to stand. Now the musician has aproached you, not for advice, but for the answer to the following question: if everybody who bought tickets arrives and tries to find a seat, how many people will end up sitting, and how many people will be standing?

Input

The first line of the input file will consist of the two integers r and s: the number of rows and the number of seats per row in that order. It is guaranteed that 0 <= r, s <= 10,000. The second line will contain a single integer between 0 and 1,000,000,000: the number of tickets that have been bought.

Output

Your output file should consist of two integers separated by a space: the number of people sitting and standing respectively.

Remember, everybody tries to sit if they can. If the concert has been overbooked, you will not be able to seat them all.

Sample Input

7 12
100

Sample Output

84 16

If this is something that interests you, please contact us so we can let you know as the tutorials become available.

Closing Message

Finally, I would like to leave you with the following TED Talk "The secrets of nature's grossest creatures, channeled into robots" by Robert Full.

How can robots learn to stabilize on rough terrain, walk upside down, do gymnastic maneuvers in air and run into walls without harming themselves? Robert Full takes a look at the incredible body of the cockroach to show what it can teach robotics engineers.

Click here to view.

 

Toggle menu