Type: Default 1000ms 256MiB

序列

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.

题目描述

给出一个序列:10,20,11,19,12,18,......根据序列的规律,第N项是什么?

输入格式

一个整数N。

输出格式

一个整数

输入/输出例子1

输入:

7

输出:

13

样例解释

【数据范围】

1 <= N <= 100000。

递推

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
5
Start at
2026-1-6 16:00
End at
2026-1-15 0:00
Duration
200 hour(s)
Host
Partic.
38