結果

問題 No.1335 1337
ユーザー shiomusubi496shiomusubi496
提出日時 2021-01-15 21:20:47
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 216 bytes
コンパイル時間 1,743 ms
コンパイル使用メモリ 165,716 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-26 12:59:55
合計ジャッジ時間 2,321 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
#define int long long
using namespace std;
signed main(){
    string s,t;cin>>s>>t;
    for(char c:t){
        if('0'<=c && c<='9')cout<<s[c-'0'];
        else cout<<c;
    }
    cout<<endl;
}
0