0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-25 07:31:59 +00:00

B - Maritozzo

https://atcoder.jp/contests/abc219/submissions/25928878
This commit is contained in:
Baoshuo Ren 2021-09-18 20:12:32 +08:00 committed by Baoshuo Ren
parent 24b8b5d7a2
commit 520a64a9ed
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

14
AtCoder/ABC219/B/B.cpp Normal file
View File

@ -0,0 +1,14 @@
#include <bits/stdc++.h>
using namespace std;
string s[4], t;
int main() {
cin >> s[1] >> s[2] >> s[3] >> t;
for (auto c : t) {
cout << s[c - '0'];
}
cout << endl;
return 0;
}