Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
112984 | 王煜鑫 | 情报加密 | C++ | Wrong Answer | 0 MS | 268 KB | 364 | 2025-03-15 10:17:08 |
#include <bits/stdc++.h> using namespace std; int main() { string b; getline(cin,b); int len; len=b.size(); for(int i=0;i<len;i++){ if(b[i]>='a'&&b[i]<='z'){ b[i]+=1; if(b[i]>'z'){ b[i]='a'; } } else if(b[i]>='a'&&b[i]<='z'){ b[i]+=1; if(b[i]>'z'){ b[i]='a'; } } } }
------Input------
It is my pleasure.
------Answer-----
Ju jt nz qmfbtvsf.
------Your output-----