|
|
вернуться в форумWhy do i get W/A ? [code deleted] Edited by moderator 02.01.2020 18:50 Look at the constrain again and carefully, you might see something... [code deleted] Edited by moderator 02.01.2020 18:51 Re: Why do i get W/A ? -> Overflow? Have you thought about a possible overflow? Why do i get Compilation Error on this ? [code deleted] Edited by moderator 02.01.2020 18:52 Re: Why do i get Compilation Error on this ? I'm not a Pascal expert (I use C), but may be you are using a 16-bit compiler and the array is too big? Anyway, if you think a bit more you will see that an array is unecessary. > program timus1010; > const > maxn=100000; > type > ta=array[1..maxn] of double; |
|
|