結果

問題 No.2034 Anti Lexicography
ユーザー akinyanakinyan
提出日時 2022-08-12 21:25:49
言語 C++23(draft)
(gcc 13.2.0 + boost 1.83.0)
結果
AC  
実行時間 257 ms / 2,000 ms
コード長 728 bytes
コンパイル時間 3,097 ms
コンパイル使用メモリ 243,684 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-24 08:04:46
合計ジャッジ時間 5,809 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,348 KB
testcase_01 AC 2 ms
4,348 KB
testcase_02 AC 2 ms
4,348 KB
testcase_03 AC 2 ms
4,348 KB
testcase_04 AC 2 ms
4,348 KB
testcase_05 AC 245 ms
4,348 KB
testcase_06 AC 250 ms
4,348 KB
testcase_07 AC 243 ms
4,348 KB
testcase_08 AC 252 ms
4,348 KB
testcase_09 AC 248 ms
4,348 KB
testcase_10 AC 255 ms
4,348 KB
testcase_11 AC 254 ms
4,348 KB
testcase_12 AC 257 ms
4,348 KB
testcase_13 AC 4 ms
4,348 KB
testcase_14 AC 4 ms
4,348 KB
testcase_15 AC 5 ms
4,348 KB
testcase_16 AC 8 ms
4,348 KB
testcase_17 AC 9 ms
4,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
using ch = char;
using ll = long long;
using ld = long double;
using db = double;
using st = string;
using vdb = vector<db>;
using vvdb = vector<vdb>;
using vl = vector<ll>;
using vvl = vector<vl>;
using vvvl = vector<vvl>;
using vd = vector<ld>;
using vvd = vector<vd>;
using vs = vector<st>;
using vvs = vector<vs>;
using vc = vector<ch>;
using vvc = vector<vc>;
using vb = vector<bool>;
using vvb = vector<vb>;
using vvvb = vector<vvb>;
const ll mod = 998244353;
const ll MOD = 1000000007;
using vp = vector<pair<ll,ll>>;
#define fi first
#define se second

int main(){
  ll N;
  cin>>N;
  for(int i=0; i<N; i++){
    ch a;
    cin>>a;
    cout<<ch(97+'z'-a);
  }
  cout<<endl;
}
0