Codeforces Round #165 Problem C Flawed Flow