gautam94's blog

By gautam94, 10 years ago, In English

Problem: http://www.spoj.com/problems/PARTY/

Solution: http://ideone.com/XWCBcI

I am using the recurrence relation given here but as you can see it's not giving the correct output for the second case. Please help me find the error.

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

| Write comment?