結果

問題 No.2034 Anti Lexicography
ユーザー cologne
提出日時 2025-09-03 15:50:16
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 3 ms / 2,000 ms
コード長 263 bytes
コンパイル時間 3,186 ms
コンパイル使用メモリ 275,600 KB
実行使用メモリ 7,716 KB
最終ジャッジ日時 2025-09-03 15:50:21
合計ジャッジ時間 4,960 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;

int main()
{
    ios::sync_with_stdio(false);
    cin.tie(0);

    int N;
    string S;
    cin >> N >> S;
    (void)N;

    for (char &c : S)
    {
        c = (char)('a' + 'z' - c);
    }

    cout << S << endl;
}
0