I don't understand why my submission is not any giving output. For the same case my solution is giving output in my codeblocks.
I am trying to solve this problem ( https://kth.kattis.scrool.se/problems/zbrka ) for sometimes. But I don't have any clue how to solve this problem. Can anyone please explain how to solve this problem.
Thanks in advance for your help.
Can anyone help me on learning combinatorics by giving some tutorials and nice implementation in c++ ? I have seen the topcoder tutorial , but have not understand it well :( if you give me an implementation in c++ with some comment . it will be great.. :) Thanx in Advance.. :)