結果
| 問題 | No.18 うーさー暗号 | 
| コンテスト | |
| ユーザー |  Series_205 | 
| 提出日時 | 2019-10-21 20:54:46 | 
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 5,000 ms | 
| コード長 | 253 bytes | 
| コンパイル時間 | 593 ms | 
| コンパイル使用メモリ | 56,720 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-07-02 17:51:25 | 
| 合計ジャッジ時間 | 1,194 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 13 | 
ソースコード
#include <iostream>
#include <string>
using namespace std;
int n;
string s;
int main(){
    cin>>s;
    n=s.size();
    for(int i=0;i<n;i++){
        int x=s[i]-i-1;
        while(x<'A')x+=26;
        cout<<char(x);
    }
    cout<<endl;
    return 0;
}
            
            
            
        