結果
| 問題 | No.8000 enuemu暗号 |
| コンテスト | |
| ユーザー |
ldsyb
|
| 提出日時 | 2016-03-16 21:29:34 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 325 bytes |
| 記録 | |
| コンパイル時間 | 754 ms |
| コンパイル使用メモリ | 69,660 KB |
| 実行使用メモリ | 6,816 KB |
| 最終ジャッジ日時 | 2024-10-01 08:48:02 |
| 合計ジャッジ時間 | 1,023 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | WA * 1 |
ソースコード
#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]];
}
ldsyb