Type: Default 1000ms 256MiB

作业题 - 尼克的年纪

提示:该题测试数据补录中,暂不支持评测提交。

No testdata at current.

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.

题目描述

尼克爷爷的岁数、爸爸的岁数和他自己的岁数是3个等差的自然数,每两个数相差25。已知尼克的岁数为n,那么请输出他们各自的岁数。

输入格式

一个正整数n,为尼克的岁数

输出格式

三个正整数,分别为尼克,爸爸,爷爷的岁数,每2个整数之间,使用空格隔开

题目样例

样例输入

11

样例输出

11 36 61

数据范围

  • 对于100%数据满足, 1≤n≤501 \leq n \leq 50

小孩头保卫战之神秘的假期

Not Attended
Status
Done
Rule
XCPC
Problem
11
Start at
2025-6-18 10:00
End at
2025-6-22 14:00
Duration
100 hour(s)
Host
Partic.
37