結果

問題 No.1735 C#
ユーザー takano32takano32
提出日時 2023-11-10 22:21:35
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 84 bytes
コンパイル時間 296 ms
コンパイル使用メモリ 11,904 KB
実行使用メモリ 16,256 KB
最終ジャッジ日時 2023-11-10 22:21:37
合計ジャッジ時間 1,491 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 88 ms
16,256 KB
testcase_01 AC 87 ms
16,256 KB
testcase_02 AC 87 ms
16,256 KB
testcase_03 WA -
testcase_04 AC 86 ms
16,256 KB
testcase_05 AC 88 ms
16,256 KB
testcase_06 AC 86 ms
16,256 KB
testcase_07 AC 87 ms
16,256 KB
testcase_08 AC 89 ms
16,256 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

ch=gets.chomp
h = (?A..?F).map {|c| [c, c+?#]}.to_h
h['B']='C'
h['E']='F'
puts h[ch]
0