結果

問題 No.3064 う し た ぷ に き あ く ん 笑
ユーザー simansiman
提出日時 2021-02-10 21:40:58
言語 Ruby
(3.3.0)
結果
AC  
実行時間 171 ms / 2,000 ms
コード長 670 bytes
コンパイル時間 341 ms
コンパイル使用メモリ 11,456 KB
実行使用メモリ 32,908 KB
最終ジャッジ日時 2023-09-22 17:56:30
合計ジャッジ時間 8,050 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
15,112 KB
testcase_01 AC 77 ms
15,336 KB
testcase_02 AC 77 ms
15,100 KB
testcase_03 AC 75 ms
15,152 KB
testcase_04 AC 75 ms
15,104 KB
testcase_05 AC 77 ms
15,304 KB
testcase_06 AC 78 ms
15,084 KB
testcase_07 AC 77 ms
15,256 KB
testcase_08 AC 78 ms
15,148 KB
testcase_09 AC 78 ms
15,116 KB
testcase_10 AC 78 ms
15,048 KB
testcase_11 AC 77 ms
15,068 KB
testcase_12 AC 77 ms
14,996 KB
testcase_13 AC 77 ms
15,300 KB
testcase_14 AC 77 ms
15,252 KB
testcase_15 AC 77 ms
15,232 KB
testcase_16 AC 78 ms
15,276 KB
testcase_17 AC 78 ms
15,180 KB
testcase_18 AC 79 ms
15,236 KB
testcase_19 AC 80 ms
15,280 KB
testcase_20 AC 81 ms
15,048 KB
testcase_21 AC 78 ms
15,172 KB
testcase_22 AC 78 ms
15,276 KB
testcase_23 AC 77 ms
15,284 KB
testcase_24 AC 78 ms
15,248 KB
testcase_25 AC 78 ms
15,336 KB
testcase_26 AC 103 ms
19,884 KB
testcase_27 AC 86 ms
16,144 KB
testcase_28 AC 165 ms
32,056 KB
testcase_29 AC 169 ms
32,776 KB
testcase_30 AC 170 ms
32,908 KB
testcase_31 AC 150 ms
24,336 KB
testcase_32 AC 158 ms
25,976 KB
testcase_33 AC 83 ms
15,576 KB
testcase_34 AC 158 ms
25,812 KB
testcase_35 AC 121 ms
23,628 KB
testcase_36 AC 136 ms
24,508 KB
testcase_37 AC 171 ms
32,752 KB
testcase_38 AC 151 ms
24,720 KB
testcase_39 AC 88 ms
16,664 KB
testcase_40 AC 103 ms
19,648 KB
testcase_41 AC 138 ms
24,608 KB
testcase_42 AC 79 ms
15,100 KB
testcase_43 AC 90 ms
16,656 KB
testcase_44 AC 150 ms
24,544 KB
testcase_45 AC 102 ms
19,480 KB
testcase_46 AC 78 ms
15,124 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

table = Hash.new
table['a'] = 'うし'
table['b'] = 'うあ'
table['c'] = 'ん笑'
table['d'] = 'たぷ'
table['e'] = 'くん'
table['f'] = 'ぷに'
table['g'] = 'しき'
table['h'] = 'あく'
table['i'] = 'うく'
table['j'] = 'あ笑'
table['k'] = 'うん'
table['l'] = 'しぷ'
table['m'] = 'うき'
table['n'] = 'く笑'
table['o'] = 'う笑'
table['p'] = 'にき'
table['q'] = 'ぷ笑'
table['r'] = 'たき'
table['s'] = 'たん'
table['t'] = 'しあ'
table['u'] = 'しん'
table['v'] = 'うう'
table['w'] = 'うた'
table['x'] = 'き笑'
table['y'] = 'にく'
table['z'] = '笑笑'

S = gets.chomp
puts S.chars.map { |s| table[s] }.join.chars.join(' ') + ' '
0