Java Why My Solution Is Wrong For Rainbow Array Question On Codechef

Java Why My Solution Is Wrong For Rainbow Array Question On Codechef