Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
109996 叶城俊 字符串替换 C++ Wrong Answer 1 MS 272 KB 181 2025-02-14 10:38:27

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main (){ string s,x; cin>>s>>x; int ids; for(int i=0;i<s.size();i++){ ids=s[i]-'a'; cout<<s[ids]; } return 0; }


Run Info:

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