Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
71746 游四鑫 字符串替换 C++ Wrong Answer 1 MS 272 KB 205 2024-04-27 16:06:01

Tests(0/10):


Code:

#include<iostream> using namespace std; int main(){ string a,b; getline(cin,a); getline(cin,b); for(int i=0;i<=a.size();i++){ b.find(a[i]-'a'); cout<<b; } return 0; }


Run Info:

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