mahim007's blog

By mahim007, history, 9 years ago, In English

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 and The Large Array my submission->12243341

thanks in advance.

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Consider the array 1 2 1 3 3, the answer is 4 5, but your program will print 1 3.