你的朋友 Yaʻqūb 在镇上的一家熟食店站柜台。他切肉、称重、打包,招呼着排队的饥饿顾客,而这条队伍一天比一天长。 排队的顾客渐渐搞不清下一个轮到谁了,所以他想要一些带编号的号码牌,让顾客用来记住自己到达的先后顺序。
为了让顾客觉得自己很特别,他不希望号码牌上只有一个数字。 他们应该拿到一句像样的英文句子,上面有他们的名字和数字。
给定一个名字和一个数字,你的任务是使用这个名字和数字造一个句子,其中数字要写成序数词。 Yaʻqūb 期望使用的数字范围是 1 到 999。
规则:
"st"
"nd"
"rd"
"th"
示例:
"Mary", 1 → "Mary, you are the 1st customer we serve today. Thank you!"
"John", 12 → "John, you are the 12th customer we serve today. Thank you!"
"Dahir", 162 → "Dahir, you are the 162nd customer we serve today. Thank you!"
| Register | Usage | Type | Description |
|---|---|---|---|
$a0 |
输入 | 地址 | 以 null 结尾的名称字符串 |
$a1 |
输入 | 整数 | 数字 |
$a2 |
输入/输出 | 地址 | 以 null 结尾的结果字符串 |
$t0-9 |
临时 | 任意 | 用于临时存储 |