I\'m trying a simple program to solve a UVa question (11683 - Laser Sculpture, https://onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=24&page=sho