結果

問題 No.1335 1337
ユーザー currypork2019
提出日時 2021-01-15 21:23:46
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 1,763 bytes
コンパイル時間 2,813 ms
コンパイル使用メモリ 165,612 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-26 13:07:06
合計ジャッジ時間 3,400 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 14
権限があれば一括ダウンロードができます

ソースコード

diff #
プレゼンテーションモードにする

#include <iostream>
#include <string> // string, to_string, stoi
#include <vector> // vector
#include <algorithm> // min, max, swap, sort, reverse, lower_bound, upper_bound
#include <utility> // pair, make_pair
#include <tuple> // tuple, make_tuple
#include <cstdint> // int64_t, int*_t
#include <cstdio> // printf
#include <map> // map
#include <queue> // queue, priority_queue
#include <set> // set
#include <stack> // stack
#include <deque> // deque
#include <unordered_map> // unordered_map
#include <unordered_set> // unordered_set
#include <bitset> // bitset
#include <cctype> // isupper, islower, isdigit, toupper, tolower
#include <iomanip> //setprecision
#include <math.h>
#include <functional>
#include <climits>
using namespace std;
#include <atcoder/all>
using namespace atcoder;
template <typename T>
bool chmax(T &u, const T z)
{
if (u < z)
{
u = z;
return true;
}
else
return false;
}
template <typename T>
bool chmin(T &u, const T z)
{
if (u > z)
{
u = z;
return true;
}
else
return false;
}
#define ll long long
typedef pair<ll,ll> P;
const ll INF = 1LL << 60;
//const ll MOD=1000000007;
int MOD = 998244353;
#define rep(i,a, n) for (int i = a; i < (int)(n); ++i)
//using mint=modint1000000007;
int H, W;
vector<string> fi;
void chmin(int& t, int f) { if (f < t) t = f; }
ll dp[2][20000001];//↑↑1➡➡2↑➡➡↑
int op(int a,int b){
return a^b;
}
int e(){
return 0;
}
int main(){
string a,b;cin>>a>>b;
rep(i,0,b.size()){
if(b[i]<='9')cout<<a[(ll)b[i]-'0'];
else cout<<b[i];
}
cout<<endl;
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
0