Tobby_And_Friends's blog

By Tobby_And_Friends, history, 8 years ago, In English

Problem Link: http://codeforces.net/problemset/problem/731/F

Solution Link: http://ideone.com/3UYOmF

I got WA in test case 7. What is wrong with my solution?