problem 142, got "Accepted 78 ms 11587 kb"

 - when n is too big, up will be 20. change up to 19 will solve the problem.
 - in 142case.c
   * change n from 100 to 50000
 - in 142.c
   * let up = 19 at first
   * delete function LOG2,
solved problem 142