提出 #5012344


ソースコード 拡げる

s = gets.chomp.to_s
puts s[0] + s[1..-2].size.to_s + s[-1]

提出情報

提出日時
問題 B - i18n
ユーザ yokoyan
言語 Ruby (2.3.3)
得点 200
コード長 59 Byte
結果 AC
実行時間 7 ms
メモリ 1788 KiB

ジャッジ結果

セット名 Sample All
得点 / 配点 0 / 0 200 / 200
結果
AC × 3
AC × 11
セット名 テストケース
Sample 0_00.txt, 0_01.txt, 0_02.txt
All 0_00.txt, 0_01.txt, 0_02.txt, 1_00.txt, 1_01.txt, 1_02.txt, 1_03.txt, 1_04.txt, 1_05.txt, 1_06.txt, 1_07.txt
ケース名 結果 実行時間 メモリ
0_00.txt AC 7 ms 1788 KiB
0_01.txt AC 7 ms 1788 KiB
0_02.txt AC 7 ms 1788 KiB
1_00.txt AC 7 ms 1788 KiB
1_01.txt AC 7 ms 1788 KiB
1_02.txt AC 7 ms 1788 KiB
1_03.txt AC 7 ms 1788 KiB
1_04.txt AC 7 ms 1788 KiB
1_05.txt AC 7 ms 1788 KiB
1_06.txt AC 7 ms 1788 KiB
1_07.txt AC 7 ms 1788 KiB