백준: ROT13 #include #include #include #include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); string s; char temp; getline(cin, s, '\n');//공백도 주어질 수 있기때문에 getline 사용 for (int i = 0; i = 'a' && temp 122)//13글자씩 밀어서 만드는 것이 ROT13임으로 13을 더하지만 더한 값이 z를 넘어갈 경우 { s[i] = temp -= 13;//13만큼 빼준다. ..