Codeforces 2015 Google Code Jam Round 3 (GCJ 15 Round 3) E. River Flow

NoSuchKey