Pratice on some algorithm solution to JobDu OJ