课例题 - 输出最小因数
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.
题目描述
对于给定的n,计算n最小的大于1的因数。
输入格式
输入包括一行,为一个正整数n(1<n<1000)。
输出格式
输出一个数,表示n的最小因数(大于1)。
题目样例
输入样例
8
输出样例
2
日照原始人第一届免死金牌争夺战
- Status
- Done
- Rule
- XCPC
- Problem
- 6
- Start at
- 2025-7-8 19:00
- End at
- 2025-7-8 21:00
- Duration
- 2 hour(s)
- Host
- Partic.
- 1