#P396. 练68.4 雷同检测
练68.4 雷同检测
Description
Teachers hate plagiarism during exams. With electronic grading, it has become much easier for teachers to find similar answers. They just need to input two students' answers into the computer and compare them character by character. By identifying the positions where the characters match, the similarities become immediately apparent.
Input Format
2 lines, each containing a string of characters (length not exceeding ).
Output Format
1 line containing several space-separated numbers, representing the positions where the characters match.
Sample
I am xiaoyan
I am xiaoke1 2 3 4 5 6 7 8 9