Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

rocky8086's blog

By rocky8086, history, 10 years ago, In English

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

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

»
10 years ago, hide # |
← Rev. 2  
Vote: I like it 0 Vote: I do not like it

So after a day I found that the live archive judge has no AC submission. My code got accepted in Codechef though. Here's the Codechef link of the problem: https://www.codechef.com/problems/AMR14C