|
|
вернуться в форумWhat answer for n=2? I think that correct answer for n=2 is 1, because if one of eagles has 2 heads and another 0 heads then IQ will be 2*0=0, isn't it? But my program had WA3 in that case. When I wrote 2 in output for n=2, I got accepted. Why? Re: What answer for n=2? because you can have only ONE eagle with 2 heads in group, so IQ = 2. There was no obligations that group should consist of >=2 eagles... Edited by author 28.12.2007 21:55 Edited by author 28.12.2007 21:55 Re: What answer for n=2? OK, I understand, thx =) |
|
|