Type: Default 1000ms 128MiB

质因数分解

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 是两个不同的质数的乘积,试求出两者中较大的那个质数。

输入格式

输入一个正整数 nn

输出格式

输出一个正整数 pp,即较大的那个质数。

21
7

提示

1n2×1091 \le n\le 2\times 10^9

NOIP 2012 普及组 第一题

"云滇计划"提高营--乐多赛

Not Attended
Status
Done
Rule
Ledo
Problem
11
Start at
2026-7-27 19:00
End at
2026-7-27 21:00
Duration
2 hour(s)
Host
Partic.
4