結果
| 問題 |
No.18 うーさー暗号
|
| コンテスト | |
| ユーザー |
r2en_
|
| 提出日時 | 2017-03-17 17:09:01 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 251 bytes |
| コンパイル時間 | 583 ms |
| コンパイル使用メモリ | 63,360 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-04 13:42:05 |
| 合計ジャッジ時間 | 1,133 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 3 WA * 10 |
ソースコード
#include <iostream>
using namespace std;
int main(){
string s;
cin >> s;
for(int i = 0; i < s.length(); i++){
if((s[i]-1)-i%26=='@'){printf("Z");}
else{ printf("%c",(s[i]-1)-i%26); }
}
cout << "\n";
return 0;
}
r2en_