## Thornhill Selection Contest

Welcome to the first Thornhill Open Programming Competition of 2016!

The problem setters this time were: PaulOlteanu, msa789, BMP, gah111, kobortor and bobhob314.

This round will be unrated.

If you are from Thornhill and have participated in this contest, come to Computer Club's next meeting on Thursday in R221 so we can deliberate who will make it to the team.

Before the contest date, you may wish to check out the tips and help pages.

The contest consists of 6 questions with a difficulty range similar to that of CCC Junior. If you cannot solve a problem fully, we encourage you to go for partial marks.

After joining the contest, you proceed to the Problems tab to begin. You can also go to Users if you wish to see the rankings.

We have listed below some advice as well as contest strategies:

• Start from the beginning. Ties will be broken by the sum of times used to solve the problems starting from the beginning of the contest. The last submission time of your highest score will be used.
• Remove all extra debugging code and/or input prompts from your code before submitting. The judge is very strict — most of the time, it requires your output to match exactly.
• Do not pause program execution at the end. The judging process is automated. You should use stdin / stdout to perform input / output, respectively.
• It is guaranteed that all the problems will be solvable with C++.

At the end of the contest, you may comment below to appeal a judging verdict. In the case of appeals, the decision(s) of our staff is final.

Good luck!

## Problems

Problem Points AC Rate Users
Vasile and Haircuts 3 53.2% 184
Johnny and Garden 5p 36.2% 117
You and Crossroads 5p 44.1% 78
Alex and Animal Rights 7p 32.9% 141
Max and Cards 7p 27.9% 88
Joey and Biology 12p 24.8% 83

• Xyene  commented on Jan. 7, 2016, 12:13 p.m.

The issue with problems has been resolved, and all contest participations have been reset. We are sorry for the delay and inconvenience.

• Jeffmagma  commented on Jan. 7, 2016, 12:07 p.m.

Where are the problems?

• mahmoudbadawy  commented on Jan. 7, 2016, 12:06 p.m.

I joined the contest but the problem section is empty

• odaniel  commented on Jan. 7, 2016, 12:05 p.m.

Problems?

• r3mark  commented on Jan. 6, 2016, 7:09 p.m. edit 2

Why are the computer labs always in room 22_?

Edit: Okay, maybe not always, but it seems to be a common occurrence in GTA high schools.

Edit 2: I clarified my question a little for you Max.

• odaniel  commented on Jan. 6, 2016, 9:43 p.m.

Mac's CPT also meets in rooms 221, 222, and 223.

• bobhob314  commented on Jan. 6, 2016, 10:02 p.m.

IT CONTINUES

• bobhob314  commented on Jan. 6, 2016, 7:22 p.m. edit 3
• r3mark  commented on Jan. 6, 2016, 8:50 p.m.

I know of four computer labs in a room with a room number between 220 and 229 inclusive. Of the high schools which the room number of the computer lab(s) are known to me, all of them have at least one computer lab in a room with a room number between 220 and 229 inclusive. Do you believe that this trend is present in most, if not all high schools in the Greater Toronto Area? If so, why do you believe this trend exists?

• FatalEagle  commented on Jan. 6, 2016, 8:54 p.m.

DMCI has computer labs in rooms in the form 11x

• bobhob314  commented on Jan. 6, 2016, 9:28 p.m.

<3

• r3mark  commented on Jan. 6, 2016, 8:59 p.m. edited

Another hypothesis disproved.

• bobhob314  commented on Jan. 6, 2016, 9:28 p.m.

FTFY:

Another hypothesis disproved by FatalEagle

• JeffreyZ  commented on Jan. 4, 2016, 1:31 p.m.

I stole a bunch of your rules paragraph for our contest, hopefully you don't mind

• BMP  commented on Jan. 5, 2016, 6:13 p.m.

That would be \$10 sir.

• Xyene  commented on Jan. 4, 2016, 1:43 p.m.

They are the rules from the DMOPC contests; of course, you are free to use them.