結果
問題 | No.1335 1337 |
ユーザー |
![]() |
提出日時 | 2021-01-15 21:22:10 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 364 bytes |
コンパイル時間 | 770 ms |
コンパイル使用メモリ | 89,416 KB |
最終ジャッジ日時 | 2025-01-17 18:28:35 |
ジャッジサーバーID (参考情報) |
judge3 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 14 |
ソースコード
#include <iostream> #include <vector> #include <string> #include <algorithm> #include <cstring> #include <cstdlib> #include <cmath> using namespace std; using ll = long long; int main() { string a, s; cin >> a >> s; for (auto &c : s) { if ('a' <= c && c <= 'z') continue; c = a[c - '0']; } cout << s << endl; return 0; }