結果

問題 No.3000 enuemu暗号
ユーザー ldsybldsyb
提出日時 2016-03-16 21:29:34
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 325 bytes
コンパイル時間 748 ms
コンパイル使用メモリ 69,500 KB
実行使用メモリ 6,548 KB
最終ジャッジ日時 2024-04-08 16:37:23
合計ジャッジ時間 1,114 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
6,548 KB
testcase_01 AC 2 ms
6,548 KB
testcase_02 AC 2 ms
6,548 KB
testcase_03 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <map>
#include <algorithm>
using namespace std;

int main(){
   string s = "pfnovuaxqwufmbgrihcdejkolsty";
   string str = "orangecipherbqsuftlmdxynzvwj";
   map<char,char> m;
   for(int i = 0;i < s.size();i++) m[s[i]] = str[i];
   cin >> s;
   for(int i = 0;i < s.size();i++) cout << m[s[i]];
}
0