Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
126201 王培用 06字符后移 C++ Wrong Answer 0 MS 268 KB 277 2025-07-16 16:25:03

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main() { char a,b,c,d; cin >> a>>b>>c>>d; char s = ((a - 65) + 2) % 26 + 65; char s1 = ((b - 65) + 2) % 26 + 65; char s2 = ((c - 65) + 2) % 26 + 65; char s3 = ((d - 65) + 2) % 26 + 65; cout << s; return 0; }


Run Info:

------Input------
c e p p
------Answer-----
d f q q
------Your output-----
K