Java increasing triplet problem

welcome to shbcf.ru