|
|
вернуться в форумПоказать все сообщения Спрятать все сообщенияWA #21 Why? Vedernikoff 'Goryinyich' Sergey (HSE: АОП) 10 сен 2005 22:41 Because your solution is wrong! Probably arithmetic overflow or stack overflow. Re: WA #21 Why? Vedernikoff 'Goryinyich' Sergey (HSE: АОП) 11 сен 2005 13:29 But why crash (stack_overflow)? My program shouldn't use so much memory! [code deleted] Edited by moderator 11.07.2006 23:07 You should manage your stack manually. if n = 1 -> res/(n-1) = res / 0?????????? No, from condition 2 <= N <= 50000 |
|
|