Getting WA but correct ans for given TC. Not even compiling

Que- form biggest number(array challenges)
here is my code https://ide.codingblocks.com/s/238148


Check now.

only getting test case 0 correct.

Refer the approach from here My code is not passing all test cases the ( Form biggest number program)