結果
問題 |
No.18 うーさー暗号
|
ユーザー |
![]() |
提出日時 | 2020-01-15 22:52:25 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 233 bytes |
コンパイル時間 | 551 ms |
コンパイル使用メモリ | 63,964 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-12 04:03:30 |
合計ジャッジ時間 | 1,079 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 13 |
ソースコード
#include<iostream> #include<string> using namespace std; int main() { string S; cin >> S; for (size_t i = 0; i < S.size(); ++i) { S[i]=((S[i]-='A')-(i+1)+1040)%26+'A'; cout << (S[i]) << endl; } }