結果
問題 | No.8000 enuemu暗号 |
ユーザー |
![]() |
提出日時 | 2014-12-25 22:04:14 |
言語 | C++11 (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 256 bytes |
コンパイル時間 | 1,237 ms |
コンパイル使用メモリ | 159,920 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-12 23:00:42 |
合計ジャッジ時間 | 1,668 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 1 |
ソースコード
#include <bits/stdc++.h>using namespace std;string table1 = "pfnovuaxqwufmbgrihcdejkolstyz";string table2 = "orangecipherbqsuftlmdxynzvwjk";int main(){string s;cin >> s;for( auto &c : s ){c = table2[table1.find(c)];}cout << s << endl;}