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

Vlad Veselov LOOK HERE, ADMINS!!! [6] // Problem 1010. Discrete Function 7 May 2004 19:15
First and fourth tests are incorrect(maybe else are incorrect too, 2 and 3 are correct).
In the first test N = 1000, but there are only 997 numbers following by it. In fourth test I didn't take distinct numbers, but there is a same problem here.
I think that C/C++ programs are not sensitive to it, but Pascal programs are sensitive.
Please rejudge this problem.
Thanks to Alex Kalugin for help.
Vlad Veselov And what about this message? [1] // Problem 1010. Discrete Function 8 May 2004 15:09
Zhang Qi i agree // Problem 1010. Discrete Function 9 May 2004 15:00
Dinu Cristian M YES!!!! 1010 solved in Pascal [2] // Problem 1010. Discrete Function 17 May 2004 23:36
I concurr. After setting my program to end the list when EOF is detected, not when N numbers have been read, I *finally* got AC. Phew !!!!!
Vladimir Yakovlev (USU) Tests must be correct now [1] // Problem 1010. Discrete Function 18 May 2004 19:34