提交时间:2025-04-05 13:32:36

运行 ID: 315933

#include<bits/stdc++.h> using namespace std; int main(){ string p="ABCDEFGHIJKLMNOPQRSTUVWXYZ"; string q="VWXYZABCDEFGHIJKLMNOPQRSTU"; string x; int t; getline(cin,x); for(int i=0; i<x.size(); i++){ if(x[i]>='A' && x[i]<='Z'){ t=x[i]-'A'; cout<<q[t]; }else{ cout<<x[i]; } } return 0; }