solution code for various practice problems for the ACM competition