SPOJ ADOMINO

Summary
Place some number of dominos in some number of bins to maximize the distance between dominos.

Implementation
Use the same implementation as Aggressive Cows. They are the same problem.