結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 92 ms
17,792 KB
testcase_01 AC 90 ms
12,160 KB
testcase_02 AC 89 ms
12,160 KB
testcase_03 AC 89 ms
12,288 KB
testcase_04 AC 93 ms
12,288 KB
testcase_05 AC 89 ms
12,160 KB
testcase_06 AC 87 ms
12,032 KB
testcase_07 AC 88 ms
12,160 KB
testcase_08 AC 88 ms
12,160 KB
testcase_09 AC 88 ms
12,160 KB
testcase_10 AC 85 ms
12,160 KB
testcase_11 AC 87 ms
12,160 KB
testcase_12 AC 87 ms
12,160 KB
testcase_13 AC 85 ms
12,160 KB
testcase_14 AC 87 ms
12,160 KB
testcase_15 AC 87 ms
12,288 KB
testcase_16 AC 85 ms
12,160 KB
testcase_17 AC 87 ms
12,288 KB
testcase_18 AC 86 ms
12,160 KB
testcase_19 AC 85 ms
12,288 KB
testcase_20 AC 89 ms
12,032 KB
testcase_21 AC 84 ms
12,160 KB
testcase_22 AC 87 ms
12,288 KB
testcase_23 AC 87 ms
12,160 KB
testcase_24 AC 88 ms
12,288 KB
testcase_25 AC 86 ms
12,160 KB
testcase_26 AC 1,037 ms
86,408 KB
testcase_27 AC 304 ms
86,336 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 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:3: warning: assigned but unused variable - b
Syntax OK

ソースコード

diff #

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

puts ans
0