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