結果
問題 | No.18 うーさー暗号 |
ユーザー |
|
提出日時 | 2020-01-11 08:59:29 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 5,000 ms |
コード長 | 257 bytes |
コンパイル時間 | 3,676 ms |
コンパイル使用メモリ | 93,724 KB |
最終ジャッジ日時 | 2025-01-08 17:04:39 |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 13 |
ソースコード
#include <iostream> #include <vector> #include <algorithm> #include <map> #include <math.h> using namespace std; int main(){ string s; cin >> s; for(int i=0;i<s.size();i++){ s[i]=(s[i]-'A'-i-1+26*1000)%26+'A'; } cout << s << endl; }