ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1118. Nontrivial Numbers

Can 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 (+)
Posted by shitty.Mishka 28 Dec 2001 21:56
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!