結果
| 問題 |
No.18 うーさー暗号
|
| コンテスト | |
| ユーザー |
stack9996
|
| 提出日時 | 2015-08-25 17:01:08 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 229 bytes |
| コンパイル時間 | 418 ms |
| コンパイル使用メモリ | 54,984 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-18 13:22:39 |
| 合計ジャッジ時間 | 898 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 WA * 8 |
ソースコード
#include <iostream>
#include <string>
int main(){
std::string s;
std::cin >> s;
for (int i = 0; i < s.size(); ++i){
s[i] -= (i + 1);
while (s[i] < 'A')s[i] += ('Z' - 'A' + 1);
}
std::cout << s << std::endl;
return 0;
}
stack9996