Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
126221 | 陈冠樾 | 06字符后移 | C++ | Accepted | 1 MS | 272 KB | 329 | 2025-07-16 16:46:34 |
#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; }