how to remove NZEC error ..it does'nt have any exception..pls help

Hello guys i m new here and i did a solution of lucky array in medium section in java but I am getting NZEC error.The code runs fine IN MY PC but it gives error when I upload it. Here is the link: http://www.codechef.com/viewsolution/3143983 …pls someone help me…i m new here and dont know what to do :frowning: :frowning:
sorry for my bad english :frowning: