Codeforces Round #318(Div. 2)B. Bear and Three Musketeers(图,思维)

NoSuchKey