結果
| 問題 |
No.2034 Anti Lexicography
|
| コンテスト | |
| ユーザー |
horiesiniti
|
| 提出日時 | 2023-04-24 03:17:39 |
| 言語 | Ruby (3.4.1) |
| 結果 |
AC
|
| 実行時間 | 156 ms / 2,000 ms |
| コード長 | 111 bytes |
| コンパイル時間 | 390 ms |
| コンパイル使用メモリ | 7,552 KB |
| 実行使用メモリ | 14,848 KB |
| 最終ジャッジ日時 | 2024-11-08 07:40:59 |
| 合計ジャッジ時間 | 3,323 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
コンパイルメッセージ
Syntax OK
ソースコード
x=("a".."z").to_a
h=Hash[x.zip(x.reverse)]
ans=[]
gets
gets.chomp.each_char{|e|
ans<<h[e]
}
puts ans.join("")
horiesiniti