A. 【深基3.例4】Apples

    Type: RemoteJudge 1000ms 256MiB

【深基3.例4】Apples

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.

题目描述

八尾勇喜欢吃苹果。她今天吃掉了 xx 个苹果。英语课上学到了 apple 这个词语,想用它来造句。如果她吃了 1 个苹果,就输出 Today, I ate 1 apple.;如果她没有吃,那么就把 1 换成 0;如果她吃了不止一个苹果,别忘了 apple 这个单词后面要加上代表复数的 s。你能帮她完成这个句子吗?

输入格式

输入一行一个自然数 xx,表示吃掉的苹果数。

输出格式

根据题目要求输出。

1
Today, I ate 1 apple.
3
Today, I ate 3 apples.

提示

对于所有数据,0x1000\le x \le 100

龙凤苑中学12月11日练习赛

Not Attended
Status
Done
Rule
IOI
Problem
8
Start at
2025-12-11 13:00
End at
2025-12-12 13:00
Duration
24 hour(s)
Host
Partic.
32