0

Highest prime factor of a number ...my question was to find highest prime factor of 600851475143.I dont get correct answer

check code... https://code.sololearn.com/cRj8LYhGRtxx/?ref=app

21st Jun 2018, 11:10 AM
Dhanaraj S
Dhanaraj S - avatar
2 Answers
+ 2
the number that the input takes is an integer, and thus cannot hold such a high number
21st Jun 2018, 12:13 PM
hinanawi
hinanawi - avatar
0
okay long int works
21st Jun 2018, 1:06 PM
Dhanaraj S
Dhanaraj S - avatar