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

Автор deinier, 12 лет назад, По-английски

Hi everybody: I have a doubt. I don't know why this solution http://codeforces.com/contest/234/submission/2385675 gives me "Runtime Error" in test case # 1 while It is fine in my computer. I will appreciate your help. Thanks in advance.

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

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

input.txt output.txt

  • »
    »
    12 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    Sorry, I don't understand. You say that I need to read from file (input.txt) and then write my output to file (output.txt) using fscanf and fprintf ??? I am reading the input specification and I see standard input & output. Thanks for your reply.

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

      You are probably reading FAQ or other problem. Please, re-read this problem's statement. It says that you should use file input/output (right under time and memory limits).

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

        Yes, I did not see the header. I got it. Thank you. I appreciate your time and Petruchcho's time.