Блог пользователя gautam94

Автор gautam94, 9 лет назад, По-английски

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.

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится