G. 2014NHOI小乙 第四题 译码程序(1.4)

    Type: Default 1000ms 128MiB

2014NHOI小乙 第四题 译码程序(1.4)

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.

说明

小洪想请你编写一个译码程序,把一个英语句子译成数字代码。译码规则是以数字 1 代替字母 a,数字 2 代替字母 b,…,26 代替字母 z,如遇空格则打印一个‘#’,英文句 子以’.’结束。

输入格式

 一行以字符’.’结束的由小写字母、空格组成的字符串(长度小于 255)。

输出格式

一行,译码以后的字符串。  
i am chinese.
9#113#389145195

来源

字符串

字符串

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
10
Start at
2025-12-25 16:00
End at
2026-1-3 0:00
Duration
200 hour(s)
Host
Partic.
39