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

Maybe, I'm stupid, but still, what is "inclination"?
Posted by Samsonov Alex [SESC USU] 7 May 2005 21:18
For example, what is the correct answer in test:
6
1
2
4
8
3
1
Why? I can't see a normal explanation anywhere.
ANSWER 4 5
Posted by Виктор Крупко 7 May 2005 22:43
ABS(A[4]-A[5])=MAX
Re: ANSWER 4 5
Posted by Samsonov Alex [SESC USU] 10 May 2005 14:40
But ABS(A[1]-A[4])>ABS(A[4]-A[5])...

Edited by author 10.05.2005 14:40

Edited by author 10.05.2005 14:41
Yes, but...
Posted by wwwwww 10 May 2005 15:04
ABS(A[1] - A[4]) / (4 - 1) < ABS(A[4] - A[5]) / (5 - 4)
++++++++++++++++
Posted by Виктор Крупко 10 May 2005 23:25
About what conversation only by a number worth elements there are checked
1 2, 2 3, 3 4, 4 5.,,,
What for here division