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

Any idea where the mistake is?
Posted by Pawel Wanat 12 Jul 2008 01:57
This code gets WA on test 2:
[code deleted]

& this gets AC:
[code deleted]

:)

Edited by moderator 02.01.2020 18:26
Re: Any idea where the mistake is?
Posted by garywkc 22 Jul 2008 20:45
Try to use
scanf("%I64d", &tab[i]);
Re: Any idea where the mistake is?
Posted by Paweł Wanat 23 Aug 2008 16:35
Oh! It's like in dev :)

thx for info. .
Re: Any idea where the mistake is?
Posted by Gaby 27 Jul 2009 20:44
The operating system may be windows, not linux, but why it return WA instead of CE?

Edited by author 27.07.2009 20:46
Re: Any idea where the mistake is?
Posted by Vitalii Arbuzov 26 Feb 2011 19:10
Cause your solution is wrong.