|
|
back to boardProblem with C language 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 I just re-submitted my solution in C and got AC... I also got the tests, if you want Re: Problem with C language 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 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) |
|
|