java
java copied to clipboard
Java prime-factors sends as input a double, while should be a long
Since all tests send longs, I think also the input type should be long.
Yes, agreed. There's no call for floating point number here.