結果
問題 |
No.18 うーさー暗号
|
ユーザー |
![]() |
提出日時 | 2018-02-14 00:11:34 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 292 bytes |
コンパイル時間 | 757 ms |
コンパイル使用メモリ | 68,236 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-12-14 12:41:45 |
合計ジャッジ時間 | 1,360 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 12 |
ソースコード
#include <iostream> #include <vector> #include <algorithm> #include <cctype> #define P(x) cout <<x<<endl using namespace std; int main(){ string str; cin >> str ; for(int i=0;i<str.size();i++){ int p = str[i]-i-1; if(p<97) p+=26; printf("%c",p); } }