ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1010. Discrete Function

Costel::icerapper@k.ro Why do i get W/A ? [4] // Problem 1010. Discrete Function 21 Feb 2002 02:06
[code deleted]

Edited by moderator 02.01.2020 18:50
[code deleted]

Edited by moderator 02.01.2020 18:51
Vinicius Fortuna Re: Why do i get W/A ? -> Overflow? [2] // Problem 1010. Discrete Function 21 Feb 2002 07:06
Have you thought about a possible overflow?
Costel::icerapper@k.ro Why do i get Compilation Error on this ? [1] // Problem 1010. Discrete Function 21 Feb 2002 14:48
[code deleted]

Edited by moderator 02.01.2020 18:52
Vinicius Fortuna Re: Why do i get Compilation Error on this ? // Problem 1010. Discrete Function 21 Feb 2002 18:48
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;