The problem is listed below: https://mirror.codeforces.com/problemset/problem/794/C
The verdict says: wrong answer 1st words differ — expected: 'abac', found: 'baca' But I think my output: 'baca' is correct. I have gone through the problem several times but I fail to see why the output should be 'abac'