SPOJ solutions with input files. Mainly I'm using this as occasional C practice :)