Giving wrong answer in codeforces compiler

Revision en2, by fmfkfd, 2016-08-31 09:29:58

The code I have writen is giving correct answer in my compiler but giving wrong answer in codeforces compiler
question:http://codeforces.com/problemset/problem/676/C mysubbmission:http://codeforces.com/contest/676/submission/20293649 In the first test case my compiler is giving output 4 where as codeforces is giving output as -1.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English fmfkfd 2016-08-31 09:29:58 1 Tiny change: ' answer inn my compi' -> ' answer in my compi'
en1 English fmfkfd 2016-08-31 09:29:25 387 Initial revision (published)