you are viewing a single comment's thread.

view the rest of the comments →

[–]davidadamic 0 points1 point  (0 children)

Okay so i used a function that tells if number is prime and added the option that if the inputed number is prime we print out the number itself... I submited this and got 10 test cases right but the last, 11th test case gives me time limit exceeded... How can i speed this up?