|
|
back to boardCan I use loop from biger number to less number until find the prime number, else print the least trivial number that find. How is the input to make me wrong answer??? Posted by Badd 28 Dec 2001 20:49 A hint (+) Maybe you didn't think of those cases where lower number is 1? For any test like this: 1 k The answer of your program should be 1. Hope this will help. Good luck! |
|
|