結果

問題 No.2034 Anti Lexicography
ユーザー kkkkkkota
提出日時 2022-08-12 22:25:37
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 7 ms / 2,000 ms
コード長 236 bytes
コンパイル時間 1,905 ms
コンパイル使用メモリ 192,536 KB
最終ジャッジ日時 2025-01-30 21:18:01
ジャッジサーバーID
(参考情報)
judge1 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;


int main() {
    int a;
    string s;
    cin >> a >> s;
    string ans;

    for(int i=0; i<a; i++){
        int t = s[i] - 'a';
        ans += 'z' - t;
    }

    cout << ans << endl;

}
0