Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
160791 杜雨轩 字符串替换 C++ Wrong Answer 1 MS 272 KB 191 2026-09-26 14:18:41

Tests(0/10):


Code:

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


Run Info:

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