結果
| 問題 | No.18 うーさー暗号 |
| コンテスト | |
| ユーザー |
michonz4
|
| 提出日時 | 2019-05-17 19:01:21 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 282 bytes |
| コンパイル時間 | 415 ms |
| コンパイル使用メモリ | 59,972 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-17 06:00:03 |
| 合計ジャッジ時間 | 1,087 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
ソースコード
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main() {
string s;
cin >> s;
for (int i=0; i<s.size(); i++) {
int t=i%26;
int n=s[i]-t;
while (n<66) {
n+=26;
}
printf("%c", n-1);
}
cout << endl;
return 0;
}
michonz4