ENG
RUS
Timus 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
Badd
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???
[1] // Problem
1118. Nontrivial Numbers
28 Dec 2001 20:49
shitty.Mishka
A hint (+)
// Problem
1118. Nontrivial Numbers
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!
© 2000–2026
Timus Online Judge Team
. All rights reserved.