結果
問題 | No.2034 Anti Lexicography |
ユーザー |
![]() |
提出日時 | 2022-08-14 19:16:58 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 415 bytes |
コンパイル時間 | 342 ms |
コンパイル使用メモリ | 40,516 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-01 10:38:31 |
合計ジャッジ時間 | 994 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 |
ソースコード
/* -*- coding: utf-8 -*- * * 2034.cc: No.2034 Anti Lexicography - yukicoder */ #include<cstdio> #include<algorithm> using namespace std; /* constant */ const int MAX_N = 200000; /* typedef */ /* global variables */ char s[MAX_N + 4]; /* subroutines */ /* main */ int main() { int n; scanf("%d%s", &n, s); for (int i = 0; i < n; i++) putchar('z' - (s[i] - 'a')); putchar('\n'); return 0; }