Skip to main content
edited title
Link
bigyihsuan
  • 10.8k
  • 1
  • 23
  • 66

Translate the keitai input method into Japanese hiragana

Became Hot Network Question
deleted 4 characters in body
Source Link
bigyihsuan
  • 10.8k
  • 1
  • 23
  • 66
['2','5'] => 'かな'
['222222','555555'] => 'かな'
['1','99','2','*','44444','111'] => 'ありがとう'
['4','*','2','*','22222','44444','0','999'] => 'だがことわる'
['11111','7','1111','00','33','000','4444', '***','999'] => 'おまえをしんでる'
['2','2','99','7','333'] => 'かかります'
['1','****'] => 'あ'
['4','**'] => 'た'
['444','**'] => 'っ'
['555','***********************'] => 'ぬ'
['22','*','88','*','11111''111','55','88','*','11111']'111'] => 'ぎゅうにゅう'
['8','444','4'] => 'やつた'
['8','444','*','4'] => 'やづた'
['8','444','**','4'] => 'やった'
['6'] => 'は'
['6','*'] => 'ば'
['6','**'] => 'ぱ'
['6','***'] => 'は'
['2','5'] => 'かな'
['222222','555555'] => 'かな'
['1','99','2','*','44444','111'] => 'ありがとう'
['4','*','2','*','22222','44444','0','999'] => 'だがことわる'
['11111','7','1111','00','33','000','4444', '***','999'] => 'おまえをしんでる'
['2','2','99','7','333'] => 'かかります'
['1','****'] => 'あ'
['4','**'] => 'た'
['444','**'] => 'っ'
['555','***********************'] => 'ぬ'
['22','*','88','*','11111','55','88','*','11111'] => 'ぎゅうにゅう'
['8','444','4'] => 'やつた'
['8','444','*','4'] => 'やづた'
['8','444','**','4'] => 'やった'
['6'] => 'は'
['6','*'] => 'ば'
['6','**'] => 'ぱ'
['6','***'] => 'は'
['2','5'] => 'かな'
['222222','555555'] => 'かな'
['1','99','2','*','44444','111'] => 'ありがとう'
['4','*','2','*','22222','44444','0','999'] => 'だがことわる'
['11111','7','1111','00','33','000','4444', '***','999'] => 'おまえをしんでる'
['2','2','99','7','333'] => 'かかります'
['1','****'] => 'あ'
['4','**'] => 'た'
['444','**'] => 'っ'
['555','***********************'] => 'ぬ'
['22','*','88','*','111','55','88','*','111'] => 'ぎゅうにゅう'
['8','444','4'] => 'やつた'
['8','444','*','4'] => 'やづた'
['8','444','**','4'] => 'やった'
['6'] => 'は'
['6','*'] => 'ば'
['6','**'] => 'ぱ'
['6','***'] => 'は'
fix test cases
Source Link
bigyihsuan
  • 10.8k
  • 1
  • 23
  • 66
['2','5'] => 'かな'
['222222','555555'] => 'かな'
['1','99','2','*','44444','111'] => 'ありがとう'
['4','*','2','*','22222','44444','0','999'] => 'だがことわる'
['11111','7','1111','00','33','000','4444', '***','999'] => 'おまえをしんでる'
['2','2','99','7','333'] => 'かかります'
['1','****'] => 'あ'
['4','**'] => 'た'
['444','**'] => 'っ'
['555','***********************'] => 'ぬ'
['22','*','99''88','*','11111','55','99''88','*','11111'] => 'ぎゅうにゅう'
['9'['8','444','4'] => 'やつた'
['9'['8','444','*','4'] => 'やづた'
['9'['8','444','**','4'] => 'やった'
['6'] => 'は'
['6','*'] => 'ば'
['6','**'] => 'ぱ'
['6','***'] => 'は'
['2','5'] => 'かな'
['222222','555555'] => 'かな'
['1','99','2','*','44444','111'] => 'ありがとう'
['4','*','2','*','22222','44444','0','999'] => 'だがことわる'
['11111','7','1111','00','33','000','4444', '***','999'] => 'おまえをしんでる'
['2','2','99','7','333'] => 'かかります'
['1','****'] => 'あ'
['4','**'] => 'た'
['444','**'] => 'っ'
['555','***********************'] => 'ぬ'
['22','*','99','*','11111','55','99','*','11111'] => 'ぎゅうにゅう'
['9','444','4'] => 'やつた'
['9','444','*','4'] => 'やづた'
['9','444','**','4'] => 'やった'
['6'] => 'は'
['6','*'] => 'ば'
['6','**'] => 'ぱ'
['6','***'] => 'は'
['2','5'] => 'かな'
['222222','555555'] => 'かな'
['1','99','2','*','44444','111'] => 'ありがとう'
['4','*','2','*','22222','44444','0','999'] => 'だがことわる'
['11111','7','1111','00','33','000','4444', '***','999'] => 'おまえをしんでる'
['2','2','99','7','333'] => 'かかります'
['1','****'] => 'あ'
['4','**'] => 'た'
['444','**'] => 'っ'
['555','***********************'] => 'ぬ'
['22','*','88','*','11111','55','88','*','11111'] => 'ぎゅうにゅう'
['8','444','4'] => 'やつた'
['8','444','*','4'] => 'やづた'
['8','444','**','4'] => 'やった'
['6'] => 'は'
['6','*'] => 'ば'
['6','**'] => 'ぱ'
['6','***'] => 'は'
edited body
Source Link
bigyihsuan
  • 10.8k
  • 1
  • 23
  • 66
Loading
Source Link
bigyihsuan
  • 10.8k
  • 1
  • 23
  • 66
Loading