What should we print for 0/0 case? For example consider this case:
1
2 4
1 2
1 5
here number of possible subsets are zero and total cost is also zero.
What should we print for 0/0 case? For example consider this case:
1
2 4
1 2
1 5
here number of possible subsets are zero and total cost is also zero.