結果
| 問題 |
No.8000 enuemu暗号
|
| コンテスト | |
| ユーザー |
kpinkcat
|
| 提出日時 | 2023-08-22 00:37:34 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 351 bytes |
| コンパイル時間 | 692 ms |
| コンパイル使用メモリ | 101,752 KB |
| 最終ジャッジ日時 | 2025-02-16 12:10:40 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 1 |
ソースコード
#include<iostream>
#include<map>
#include<vector>
#include <algorithm>
#include<math.h>
#include <iomanip>
#include<set>
#include <numeric>
using namespace std;
int main()
{
string s, t = "cqlmdrstfxyzbanopuvweghijk", ans = "";
cin >> s;
for (int i = 0; i < s.size(); i++){
ans += t[s[i] - 'a'];
}
cout << ans << endl;
}
kpinkcat