Every time I submit my code for Alien Dictionary (#269), it says wrong answer: Special judge: No expected output available when the sample test case is tested against. But my answer is the same as the sample answer (wertf). Somebody knows what happens?
Please add this statement before your last statement
cout << returnVal.length();
You will see the length is not 5. That means there is a non-printable character somewhere in your return string. For more details, see the FAQ item no. 4.