Form biggest number

shows some error that i am unable to resolve. please help me fix this. Sharing the link also :: https://ide.codingblocks.com/s/149158

@priyanshi.agarwal3405 You are storing inputs in an int array, but myCompare is expecting strings to compare.
Logic of your code is correct, but instead of an int array, make a vector of strings and store the input in that. Then your code will work fine.
Hope this helps.

okay. Thank you sir. Got my mistake. But still it shows wrong answer.

Share the new code, please.

@priyanshi.agarwal3405 add a cout << endl; after line number 40. If there are multiple test cases then we have to print the output of every test case in a separate line. Rest of your code is perfect fine.

okay, got it sir. Thank you so much!!

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.