Friday, May 23, 2014

Friday, February 14, 2014

February 2014 Bronze Problem 3: Secret Code

Result: 10/10 **********

This one took more time than Problem 1 and Problem 2, but at least I actually finished this Problem 3, unlike the last few ones.

scode.cpp

February 2014 Bronze Problem 2: Auto-complete

Result: 7/10 *****tt**t

Just sort the entries, but also store the original position, then process the requests.

auto.cpp

February 2014 Bronze Problem 1: Mirror Field

Result: 8/10 **x*x*****

This is actually more difficult than Problem 2, which I completed first.

mirror.cpp

Tuesday, January 14, 2014

January 2014 Bronze Problem 3: Balanced Teams

Result: (incomplete)

It's too difficult, so I give up.

bteams.cpp

January 2014 Bronze Problem 2: Bessie Slows Down

Result: 1/10 *xxxxxxxxx

My solution is O(N log N), but I somehow made an error somewhere (probably rounding errors).

slowdown.cpp

January 2014 Bronze Problem 1: Ski Course Design

Result: 10/10 **********

My solution is O(N^2), but up to 83*99 iterations.

skidesign.cpp