結果

問題 No.3064 う し た ぷ に き あ く ん 笑
ユーザー sca1lsca1l
提出日時 2020-04-21 12:25:22
言語 Ruby
(3.3.0)
結果
TLE  
実行時間 -
コード長 435 bytes
コンパイル時間 39 ms
コンパイル使用メモリ 7,424 KB
実行使用メモリ 94,164 KB
最終ジャッジ日時 2024-04-16 20:45:57
合計ジャッジ時間 7,710 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
17,664 KB
testcase_01 AC 90 ms
12,160 KB
testcase_02 AC 81 ms
12,160 KB
testcase_03 AC 80 ms
12,160 KB
testcase_04 AC 84 ms
12,160 KB
testcase_05 AC 84 ms
12,160 KB
testcase_06 AC 84 ms
12,160 KB
testcase_07 AC 83 ms
12,032 KB
testcase_08 AC 84 ms
12,288 KB
testcase_09 AC 85 ms
12,032 KB
testcase_10 AC 88 ms
12,160 KB
testcase_11 AC 87 ms
12,160 KB
testcase_12 AC 82 ms
12,160 KB
testcase_13 AC 80 ms
12,160 KB
testcase_14 AC 83 ms
12,160 KB
testcase_15 AC 86 ms
12,032 KB
testcase_16 AC 83 ms
12,160 KB
testcase_17 AC 83 ms
12,032 KB
testcase_18 AC 84 ms
12,032 KB
testcase_19 AC 86 ms
12,032 KB
testcase_20 AC 87 ms
12,032 KB
testcase_21 AC 87 ms
12,288 KB
testcase_22 AC 83 ms
12,288 KB
testcase_23 AC 83 ms
12,032 KB
testcase_24 AC 82 ms
12,160 KB
testcase_25 AC 84 ms
12,288 KB
testcase_26 AC 907 ms
86,540 KB
testcase_27 AC 299 ms
86,356 KB
testcase_28 TLE -
testcase_29 -- -
testcase_30 -- -
testcase_31 -- -
testcase_32 -- -
testcase_33 -- -
testcase_34 -- -
testcase_35 -- -
testcase_36 -- -
testcase_37 -- -
testcase_38 -- -
testcase_39 -- -
testcase_40 -- -
testcase_41 -- -
testcase_42 -- -
testcase_43 -- -
testcase_44 -- -
testcase_45 -- -
testcase_46 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

s = gets.chomp
a = "う し う あ ん 笑 た ぷ く ん ぷ に し き あ く う く あ 笑 う ん し ぷ う き く 笑 う 笑 に き ぷ 笑 た き た ん し あ し ん う う う た き 笑 に く 笑 笑 "
b = [*"a".."z"]*""
ans = ""
s.each_char{|c|
  idx = b.index(c)
  ans += a[idx*4..idx*4+3]
}

puts ans
0