deinier's blog

By deinier, 9 years ago, In English

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.

 
 
 
 
  • Vote: I like it
  • -11
  • Vote: I do not like it

»
9 years ago, # |
Rev. 2   Vote: I like it +5 Vote: I do not like it

input.txt output.txt

  • »
    »
    9 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    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.

    • »
      »
      »
      9 years ago, # ^ |
        Vote: I like it +5 Vote: I do not like it

      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).

      • »
        »
        »
        »
        9 years ago, # ^ |
          Vote: I like it +5 Vote: I do not like it

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