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

simple solution
Posted by rauf (coder) 30 May 2010 18:52
you should find nearest prime number to J if the number doesnt exist you should find odd number because even number's divisor sum is bigger:)

Edited by author 30.05.2010 18:53

Edited by author 30.05.2010 18:53

Edited by author 30.05.2010 18:54