結果
問題 | No.3000 enuemu暗号 |
ユーザー | imgry22 |
提出日時 | 2014-12-25 23:08:52 |
言語 | C++11 (gcc 11.4.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 921 bytes |
コンパイル時間 | 3,016 ms |
コンパイル使用メモリ | 144,440 KB |
実行使用メモリ | 4,380 KB |
最終ジャッジ日時 | 2023-09-03 17:56:07 |
合計ジャッジ時間 | 2,076 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge15 |
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 2 ms
4,380 KB |
testcase_01 | AC | 1 ms
4,380 KB |
testcase_02 | AC | 2 ms
4,380 KB |
testcase_03 | AC | 1 ms
4,380 KB |
ソースコード
#include<bits/stdc++.h> using namespace std; typedef long long int ll; typedef pair<int, int> pii; typedef vector<int> vi; typedef vector<pair<int, int> > vii; #define rrep(i, m, n) for(int (i)=(m); (i)<(n); (i)++) #define rep(i, n) for(int (i)=0; (i)<(n); (i)++) #define rev(i, n) for(int (i)=(n)-1; (i)>=0; (i)--) #define vrep(i, c) for(__typeof((c).begin())i=(c).begin(); i!=(c).end(); i++) #define ALL(v) (v).begin(), (v).end() #define mp make_pair #define pb push_back template<class T1, class T2> inline void minup(T1& m, T2 x){ if(m>x) m=static_cast<T2>(x); } template<class T1, class T2> inline void maxup(T1& m, T2 x){ if(m<x) m=static_cast<T2>(x); } #define INF 1000000000 #define MOD 1000000009 #define EPS 1E-9 string str = "cqlmdrstfxyzbanopuvweghijk"; string S; int main() { cin >> S; rep(i, S.size()) cout << str[S[i]-'a']; cout << endl; return 0; }