結果
| 問題 |
No.18 うーさー暗号
|
| コンテスト | |
| ユーザー |
kazuppa
|
| 提出日時 | 2024-06-02 07:32:02 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 201 bytes |
| コンパイル時間 | 7,445 ms |
| コンパイル使用メモリ | 272,340 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-12-23 02:13:29 |
| 合計ジャッジ時間 | 6,646 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 WA * 11 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;cin>>s;
for(int i=0;i<s.size();i++){
if((int)(s[i]-'A')<i+1){
s[i]+=26;
}
s[i]-=i%26+1;
}
cout<<s<<endl;
}
kazuppa