My editor is not giving correct output even if I copy the same code as yours

There is some issue with the compiler