Hint: Find a function which integrates to zero over a box if and only if one of the box's sides is of integer length. Then what?
Complete Solution