A Digging Problem solutions

A Digging Problem was solved using C by 3 contestants. Solution sizes: average 3654 bytes (shortest: 2668; longest: 6281).