結果
| 問題 | No.1335 1337 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-06-03 17:01:25 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 162 bytes |
| 記録 | |
| コンパイル時間 | 1,273 ms |
| コンパイル使用メモリ | 147,160 KB |
| 実行使用メモリ | 7,972 KB |
| 最終ジャッジ日時 | 2026-04-09 10:20:30 |
| 合計ジャッジ時間 | 1,923 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 14 |
ソースコード
#include<iostream>
#include<string>
using namespace std;
int main(){
string a,s;
cin>>a>>s;
for(auto&x:s)
if('0'<=x&&x<='9')
x=a[x-'0'];
cout<<s<<endl;
}