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

Incorrect statement?
Posted by [OSTU]Svetkin 30 Mar 2004 17:21
Correct answer for 1<= N <= 9 is N itself. But how is it possible to calculate product of digits for only ONE digit?
Re: Incorrect statement?
Posted by Илья Гофман (Ilya Gofman) 30 Mar 2004 20:09
c'mon don't be boring, why can't you think that you multiply the digit by nothing?:)) i don't think it's any problem to understand, is it?
Re: Incorrect statement?
Posted by buggzy 30 Mar 2004 22:58
But the statement is really incorrect ;)
Re: Incorrect statement?
Posted by Vladimir Yakovlev (USU) 31 Mar 2004 00:54
As we know from set theory, product is defined even for empty set (it equals to 1). The product of one-element set is equal to this element.
The problem statement is correct.
Re: Incorrect statement?
Posted by [OSTU]Svetkin 2 Apr 2004 01:35
well, never heard about it :) Maybe you're right. But this problem is kinda tricky, considering this thing and that '10' answer for n=0. (I know, it's 100% correct, but... it annoys)