|
|
вернуться в форумBecause your solution is wrong! Probably arithmetic overflow or stack overflow. 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 |
|
|