Skip to content

Latest commit

 

History

History
14 lines (7 loc) · 348 Bytes

README.md

File metadata and controls

14 lines (7 loc) · 348 Bytes

Common Computer - Prime Factor

The prime factors of 13195 are 5, 7, 13 and 29 (5 * 7 * 13 * 29 = 13195), and the largest prime factor is 29. Implement a simple web server that can return the largest prime factor of the given number.

input range: 1~1000000

Exception

  • Input value is not integer.
  • Input value range is not 1~1,000,000