結果
| 問題 |
No.1335 1337
|
| コンテスト | |
| ユーザー |
sorag
|
| 提出日時 | 2022-08-02 23:19:19 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 382 bytes |
| コンパイル時間 | 735 ms |
| コンパイル使用メモリ | 81,384 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-23 17:26:02 |
| 合計ジャッジ時間 | 1,447 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 4 |
| other | AC * 1 WA * 13 |
ソースコード
#include <iostream>
#include <vector>
#include <map>
#include<string>
using namespace std;
int main() {
string s;
string t;
map<int,char> b;
cin>>s;
cin>>t;
for (int i=0;i<s.size();i++){
b[i]=s[i];
}
for (int i=0;i<s.size();i++){
if(t[i]<='9') cout<<b[t[i]-'0'];
else cout<<t[i];
}
cout<<endl;
return 0;
}
sorag