#792. 课例题 - 输出最小因数
课例题 - 输出最小因数
No testdata at current.
题目描述
对于给定的n,计算n最小的大于1的因数。
输入格式
输入包括一行,为一个正整数n(1<n<1000)。
输出格式
输出一个数,表示n的最小因数(大于1)。
题目样例
输入样例
8
输出样例
2
相关课程
Related
In following contests:
No testdata at current.
对于给定的n,计算n最小的大于1的因数。
输入包括一行,为一个正整数n(1<n<1000)。
输出一个数,表示n的最小因数(大于1)。
8
2
In following contests:
By signing up a 西蒙科教 universal account, you can submit code and join discussions in all online judging services provided by us.