結果
問題 |
No.18 うーさー暗号
|
ユーザー |
|
提出日時 | 2020-01-11 08:58:40 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 252 bytes |
コンパイル時間 | 784 ms |
コンパイル使用メモリ | 94,532 KB |
最終ジャッジ日時 | 2025-01-08 17:04:27 |
ジャッジサーバーID (参考情報) |
judge1 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 WA * 11 |
ソースコード
#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)%26+'A'; } cout << s << endl; }