| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 71747 | 游四鑫 | 字符串替换 | C++ | Wrong Answer | 1 MS | 276 KB | 205 | 2024-04-27 16:06:34 |
#include<iostream> using namespace std; int main(){ string a,b; getline(cin,a); getline(cin,b); for(int i=0;i<=b.size();i++){ b.find(a[i]-'a'); cout<<b; } return 0; }
------Input------
AAABBBBCCCDDDabbc emtnohkgfsdajpircvqlxbuzwy
------Answer-----
EEEMMMMTTTNNNemmt
------Your output-----
emtnohkgfsdajpircvqlxbuzwyemtnohkgfsdajpircvqlxbuzwyemtnohkgfsdajpircvqlxbuzwyemtnohkgfsdajpircvqlxbuzwyemtnohkgfsdajpircvqlxbuzwyemtnohkgfsdajpircvqlxbuzwyemtnohkgfsdajpircvqlxbuzwyemtnohkgfsdajpircvqlxbuzwyemtnohkgfsdajpircvqlxbuzwyemtnohkgfsdajpircvqlxbuzwyemtnohkgfsdajpircvqlxbuzwyemtnohkgfsdajpircvqlxbuzwyemtnohkgfsdajpircvqlxbuzwyemtnohkgfsdajpircvqlxbuzwyemtnohkgfsdajpircvqlxbuzwyemtnohkgfsdajpircvqlxbuzwyemtnohkgfsdajpircvqlxbuzwyemtnohkgfsdajpircvqlxbuzwyemtnohkgfsdajpircvqlxbuzwyemtnoh