|
|
back to boardHow Bad is Test#5! I use heap(half memory),But Wrong Answer! Here is my program: [deleted :-)] Edited by moderator 22.04.2004 00:37 I did not debuged your program, but (+) - Do not use real, it takes 6 bytes and not very accurate. + Use long word - Do not do (a[1]+x)/2 for longword's since with 2 long words their sum can be bigger that longword; 4*10^9 + 4*10^9. Hope this will help. Edited by author 21.04.2004 20:10 |
|
|