hackerrank time conversion

visit shbcf.ru