ICPC live archive, 6982 — Dhoni's Bowlers Problem

Revision en1, by rocky8086, 2016-09-16 04:46:15

Hi, I have been trying to solve this problem for a very long time now. But getting WA. Can anyone please check out my code and tell me what's wrong with it?

Problem link: https://icpcarchive.ecs.baylor.edu/external/69/6982.pdf

My code: http://ideone.com/ti6xRi

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English rocky8086 2016-09-16 04:46:15 405 Initial revision (published)