Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- int main() {
- char a[124], p[10010];
- scanf(" %s", a+97);
- scanf(" %s", p);
- for(int i = 0; p[i] != '\0'; i++){
- printf("%c", a[p[i]]);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement