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 1014. Product of Digits

about prime...
Posted by babyyong 12 Apr 2009 14:59
what should I print if the number is a prime number
Re: about prime...
Posted by Varun Sharma 14 Apr 2009 06:13
Hi,

I think it should print -1 but for 7, 5 etc. answer would be 7 and 5 respectively. For 11, it will be -1.