|
|
back to boardRe: how about n=1? I think when n=1 k must be 0 Re: how about n=1? o_O, i think 2 Re: how about n=1? no it is not 2 it is 0 you were not understand the problem Edited by author 04.04.2009 20:34 Re: how about n=1? Then why does my AC program output 2??? Re: how about n=1? k cannot be 0 because we cannot divide on it. There will be no answer on question "How much heads of cabbage receive each hare?" because even 1=0*1000000+1 is true. The answer is 2 because for 1 we have 1/1=1 but 1/2=0. And for 2 we have 1/2=1/3=0. Re: how about n=1? I'm sorry maby I was not understood the problem Re: how about n=1? K is the minimum integer that [n/k]=[n/(k+1)] Re: how about n=1? Posted by Quyon 19 Aug 2009 09:14 if n=1 then output 2 1/2=0 and 1/3=0 |
|
|