Help needed for #398 Div2 C

Revision en1, by bluefog, 2017-02-19 23:12:29

Submission under review : http://codeforces.com/contest/767/submission/24809891

For problem : http://codeforces.com/contest/767/problem/C

Which cases am I missing? I tried to implement the two conditions as given in the tutorial but the submission fails for test 9 (which is a large one, i cannot debug by viewing the case).

Thank you for your time and attention

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English bluefog 2017-02-19 23:12:29 398 Initial revision (published)