getting WA on test case number 8,but don't understand why?pls help

Revision en2, by mahim007, 2015-07-27 21:46:50

it seems to be ok,but giving wa,may be a small bug.but i can't find it.pls help me to find the bug.or suggest me if i misunderstand anything.

problem link->558B - Amr и большой массив my submission->12243341

thanks in advance.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English mahim007 2015-07-27 21:46:50 7
en1 English mahim007 2015-07-27 21:45:08 298 Initial revision (published)