Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
62940 蔚佳良 字符串替换 C++ Wrong Answer 1 MS 272 KB 204 2023-12-30 17:40:30

Tests(0/10):


Code:

#include<iostream> #include<cstring> using namespace std; int main() { string s; cin>>s; string cs="cdbaefghijklmnopqrstuvwxyz"; for(int i=0;i<s.length();i++){ cout<<cs[s[i]-97]; } }


Run Info:

------Input------
AAABBBBCCCDDDabbc emtnohkgfsdajpircvqlxbuzwy
------Answer-----
EEEMMMMTTTNNNemmt
------Your output-----
ccc