結果
| 問題 | No.18 うーさー暗号 |
| コンテスト | |
| ユーザー |
J31831276
|
| 提出日時 | 2018-12-29 01:15:51 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 269 bytes |
| コンパイル時間 | 498 ms |
| コンパイル使用メモリ | 57,504 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-10-01 15:05:49 |
| 合計ジャッジ時間 | 966 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
ソースコード
#include <iostream>
#include <algorithm>
#include <cstdio>
#include <string>
#define ll long long
using namespace std;
int main(){
string s;
cin>>s;
for(int i=1;i<=s.length();++i){
cout<<(char)((s[i-1]-65-i+2600000)%26+65);
}
cout<<endl;
return 0;
}
J31831276