【深基6.习1】手机
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目描述
一般的手机的键盘是这样的:
要按出英文字母就必须要按数字键多下。例如要按出 就得按 两下,第一下会出 ,而第二下会把 变成 。 键按一下会出一个空格。
你的任务是读取若干句只包含英文小写字母和空格的句子,求出要在手机上打出这个句子至少需要按多少下键盘。
输入格式
一行句子,只包含英文小写字母和空格,且不超过 200 个字符。
输出格式
一行一个整数,表示按键盘的总次数。
i have a dream
23
提示
NOI 导刊 2010 普及(10)
628
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 13
- Start at
- 2025-6-28 13:00
- End at
- 2025-6-30 15:00
- Duration
- 50 hour(s)
- Host
- Partic.
- 3