結果
| 問題 |
No.18 うーさー暗号
|
| コンテスト | |
| ユーザー |
fumi6328
|
| 提出日時 | 2018-08-22 11:57:19 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 277 bytes |
| コンパイル時間 | 401 ms |
| コンパイル使用メモリ | 55,008 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-12-23 15:30:07 |
| 合計ジャッジ時間 | 1,021 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 WA * 8 |
ソースコード
#include <iostream>
using namespace std;
int main()
{
char s[1025];
cin >> s;
for(int i = 0; s[i] != '\0'; i++){
s[i] -= (i+1);
while(s[i]<'A'){
s[i] += 26;
}
}
cout << s << endl;
return 0;
}
fumi6328