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