The testcase shows that the output i got is wrong but the same code gives correct output on vs code and other compilers The first image is the testcase, you can see the expected output as [3, 1, 2] ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する