Sticks | CodeChef

I think @kingofnumbers has not asked the things with clearity,A rectangle is one whose length does not equal to breadth but when i attempted this question i realised that this thing has not been kept in mind while making this question….