Блог пользователя aliawadhi

Автор aliawadhi, история, 5 лет назад, По-английски

 I tried to submit for this question, but it seems that there is not answer.txt file to compare to and the judgement was "Denial by judgement". I thought that maybe my code is wrong, so I copied another code that previously got an "Accepted" answer for this question and submitted it. However, the output was still "Denial by judgement". Can you please help me out with this?

  • Проголосовать: нравится
  • +13
  • Проголосовать: не нравится

»
5 лет назад, # |
  Проголосовать: нравится +8 Проголосовать: не нравится

As mentioned in the problem you have to take the input from file and print output in file .

include these line of code just after starting of main function

freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout);