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 1306. Sequence Median

Problem with C language
Posted by Veniamin 17 Mar 2005 15:14
Hello All,

I think that it is standard issue. However, I can’t AC my program on C. Moreover it gets WA on the first test! Actually, I’m sure that my algorithm is right, because I used classical method.

So, my question:
Does anybody have accepted program on C?

2Admins:
I really doubt in test case for C (Perhaps problem in input/output). Can you check tests?

Best regards,
Veniamin.
Re: Problem with C language
Posted by Gheorghe Stefan 17 Mar 2005 15:38
I just re-submitted my solution in C and got AC... I also got the tests, if you want
Re: Problem with C language
Posted by Veniamin 17 Mar 2005 15:47
Could you sent to me your tests? venia_k@mail.ru
With Regards,
Veniamin.
Re: Problem with C language
Posted by Macarie 17 Mar 2005 21:22

Edited by author 17.03.2005 21:22

Edited by author 17.03.2005 21:22
Re: Problem with C language
Posted by Veniamin 17 Mar 2005 22:13
Thanks for your answer. My problem was that if result was whole number I didn’t output fractional value .0
Good Test:
In
1
1
Out
1.0    (My answer was 1)