Getting WA on 85C

Правка en1, от skpro19, 2017-09-10 12:56:31

I am getting a WA on this problem. Can someone suggest, what is wrong with my logic?

Problem: http://codeforces.me/contest/85/problem/C

My submission: http://codeforces.me/contest/85/submission/30241748

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский skpro19 2017-09-10 12:56:31 228 (published)