#A. 练26.2 分苹果

    Type: RemoteJudge 1000ms 256MiB

练26.2 分苹果

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.

说明

把一堆苹果分给nn个小朋友,要使每个人都能拿到苹果,而且每个人拿到的苹果数都不同的话,这堆苹果至少应该有多少个?

输入格式

一个不大于10001000的正整数nn,代表小朋友人数。

输出格式

一个整数,表示满足条件的最少苹果个数。

样例

8
36

每日一题

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
5
Start at
2024-7-8 18:15
End at
2024-11-27 10:15
Duration
3400 hour(s)
Host
Partic.
47