0
How about my code to find prime number with the least running time.Do you think my code can reduce looping-time...
3 ответов
+ 1
Honestly, looking at your code I get very very confused. You have a section commented out to ask for a number to input. However, you continue the program based on the input that is being put in to the program yet you will never get it since the request for input is commented out.
Please let me know how you are approaching this problem.
Thanks.
0
I just used a mathematical formula to reduce looping time for the larger numbers.
0
I understand that. However, you still haven't answered my original question regarding how you are going to get input when the line to ask for it is commented out. This app asks for it still (even though it shouldnt). So how are you going to get your input when the line to ask for it is commented out?