시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
1 초 | 128 MB | 2067 | 1117 | 1025 | 54.638% |
The PLU football coach must submit to the NCAA officials the names of all players that will be competing in NCAA Division II championship game. Unfortunately his computer keyboard malfunctioned and interchanged the letters ‘i’ and ‘e’. Your job is to write a program that will read all the names and print the names with the correct spelling.
The file contains a list of names, and each name will be on a separate line.
Print the same list of names with every ‘i’ replaced with an ‘e’, every ‘e’ replaced with an ‘i’, every ‘I’ replaced with an ‘E’, and every ‘E’ replaced with an ‘I’.
Alan Pagi John Hiesman Justen Forsitt Phel Semms Tem Tibow Marshawn Lynch Lion Washengton
Alan Page John Heisman Justin Forsett Phil Simms Tim Tebow Marshawn Lynch Leon Washington
High School > PLU High School Programming Contest > PLU 2012 > Novice 10번