Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
126206 | 王培用 | 06字符后移 | C++ | Accepted | 1 MS | 272 KB | 319 | 2025-07-16 16:31:25 |
#include<bits/stdc++.h> using namespace std; int main() { char a, b, c, d; cin >> a >> b >> c >> d; char s = ((a - 97) + 1) % 26 + 97; char s1 = ((b - 97) + 1) % 26 + 97; char s2 = ((c - 97) + 1) % 26 + 97; char s3 = ((d - 97) + 1) % 26 + 97; cout << s <<" "<< s1 <<" "<< s2 <<" "<< s3; return 0; }