結果
問題 | No.1335 1337 |
ユーザー |
![]() |
提出日時 | 2023-08-24 23:42:34 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 258 bytes |
コンパイル時間 | 1,943 ms |
コンパイル使用メモリ | 192,068 KB |
最終ジャッジ日時 | 2025-02-16 13:20:57 |
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 14 |
ソースコード
#include <bits/stdc++.h>using namespace std;using ll = long long;int main(){string S, T;cin >> S >> T;for (auto x : T){if ('0' <= x && x <= '9') cout << S[x-'0'];else cout << x;}cout << endl;return 0;}