結果

問題 No.2034 Anti Lexicography
ユーザー simansiman
提出日時 2022-08-13 17:15:38
言語 Ruby
(3.3.0)
結果
AC  
実行時間 244 ms / 2,000 ms
コード長 89 bytes
コンパイル時間 524 ms
コンパイル使用メモリ 11,860 KB
実行使用メモリ 38,520 KB
最終ジャッジ日時 2023-10-25 01:16:21
合計ジャッジ時間 4,573 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 88 ms
16,084 KB
testcase_01 AC 87 ms
16,084 KB
testcase_02 AC 90 ms
16,084 KB
testcase_03 AC 89 ms
16,084 KB
testcase_04 AC 88 ms
16,084 KB
testcase_05 AC 237 ms
37,152 KB
testcase_06 AC 242 ms
38,356 KB
testcase_07 AC 234 ms
37,060 KB
testcase_08 AC 244 ms
38,520 KB
testcase_09 AC 239 ms
37,816 KB
testcase_10 AC 240 ms
38,516 KB
testcase_11 AC 240 ms
38,516 KB
testcase_12 AC 239 ms
38,516 KB
testcase_13 AC 89 ms
16,084 KB
testcase_14 AC 88 ms
16,084 KB
testcase_15 AC 89 ms
16,084 KB
testcase_16 AC 89 ms
16,340 KB
testcase_17 AC 91 ms
16,488 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

N = gets.to_i
S = gets.chomp

puts S.chars.map { |s| ('z'.ord - (s.ord - 97)).chr }.join
0