Problem with algorithm?

Правка en1, от sazerterus25, 2015-07-23 01:15:28

excuse me, can someone please check my code and tell me what is the problem with my algorithm? The problem is http://codeforces.net/problemset/problem/156/C and my code is: http://ideone.com/xqZvmY

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский sazerterus25 2015-07-23 01:15:28 223 Initial revision (published)