70 likes | 260 Vues
Computer Science Club. “ There are 10 types of people: those who understand binary, and those who do not understand it .”. Problem of the Week.
E N D
Computer Science Club “There are 10 types of people: those who understand binary, and those who do not understand it.”
Problem of the Week • Lynn Brook and CuperTino, two students, are interested in analyzing the results from a recent pie-eating competition. They are given the amount of pie, in grams, that each of 2011 competitors was able to eat. CuperTino, relying on his computer science prowess, quickly announces that he can find the 11th best contestant in O(n2)time. Devise an algorithm for Lynn to beat this time in at least the average case scenario.
Problem of the Week (cont.) • Monty Vista, a senior from the nearby rival school, scoffs at CuperTino’s statement and immediately notes he can solve the problem in O(n*log(n))time. For bonus points, optimize Lynn’s algorithm to beat Monty’s.
How to Submit • Data should be read via the console • Send officers@lynbrookcs.coma solution by this Saturday, October 2nd • If you choose to go for bonus points, only send your optimized algorithm • Earn points through consistently correct answers
ACSL/USACO • ACSL schedule on our website <http://lynbrookcs.com> • First contest in December • USACO • Schedule not yet released • Expect first contest to be in mid or late October
Membership • Register online at http://bit.ly/lynbrookcs • Pay your $10 dues