PraveenDhinwa's blog

By PraveenDhinwa, 12 years ago, In English

I recently tried to participate in virtual contest 155 div 2 and 154 div 2. I am getting errors on first problem of both the contest. See my latest unofficial solutions : http://codeforces.net/submissions/praveendhinwa

In First problem of 154 Div2 A (Boys and Girls) , I am getting memory limit exceeded. In First problem of 155 Div2 A (Cards with Numbers) , I am getting runtime error and wrong answers.

Both these errors are happening in even test case no 1.

Please help!!!

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
12 years ago, # |
  Vote: I like it +1 Vote: I do not like it

Problems will require file I/O: you have to read data from input.txt and write data to output.txt.

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

    Thank you,

    But I have a query , I had participated in a contest on codeforces in which input and output was from the file. If we do not take the input and output from the file , It gave the error Idleness limit exceeded.

    • »
      »
      »
      12 years ago, # ^ |
      Rev. 2   Vote: I like it +1 Vote: I do not like it

      I do not know because of what it is, but sometimes your program still manages to read the input data (ofcourse — wrong).

      Example: "n" can be read like 10^9, so it will be — TL or ML.

      P.S. Sorry for google translate.