結果
問題 | No.1335 1337 |
ユーザー |
![]() |
提出日時 | 2022-08-02 23:04:01 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 319 bytes |
コンパイル時間 | 895 ms |
コンパイル使用メモリ | 73,796 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-23 17:10:39 |
合計ジャッジ時間 | 1,979 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 14 |
ソースコード
#include <iostream>#include <vector>#include <map>#include<string>using namespace std;int main() {string a;string s;map<int,char> b;cin>>a;cin>>s;for (int i=0;i<s.size();i++){if(s[i]<='9') cout<<a[s[i]-'0'];else cout<<s[i];}cout<<endl;return 0;}