Note - In last while showing solution, in canFit(), inside loop, I wrote cow++, it should be cnt++ instead. Problem Link - https://www.spoj.com/problems/AGGRCOW/
No download links available.