1st answer using java programming language for compare string and return value,
2nd answer using c++ programming language and input with int value of 200000,
3rd answer using c programming language and if using c++ in the middle row of "@" is not full cause it's code from c and for c to compile,
4th answer using c++ programming language with 3 input,
5th and 6th answer is N/A
The code can be compile online at https://www.onlinegdb.com/