Alex7's blog

By Alex7, history, 9 years ago, In English

Check this out 16507699 . It gets ok on the first 7 tests then CE. This stuff is weird :v :V

  • Vote: I like it
  • +98
  • Vote: I do not like it

»
9 years ago, # |
  Vote: I like it +6 Vote: I do not like it
»
9 years ago, # |
  Vote: I like it +35 Vote: I do not like it

illuminati

»
9 years ago, # |
  Vote: I like it +13 Vote: I do not like it

I think maybe CF run different cases on different machines and different machine has different configuration.

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

Did you check what the compiler message was?

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

    Can't compile file:

    cc1plus.exe: out of memory allocating 65536 bytes

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

      Yeah, happens with me often! compiler optimizes remember, so unless you need large memory, you don't allocate large memory. So its reasonable why you'll get CE on 8th or 23rd test case

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

        No, it's not reasonable at all. The program either compiles or doesn't regardless of the testcase.

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

          Well, it confuses me too, because compile time error due to something happening at runtime???, but the optimization is nice, so maybe they found a way to do so. Do you know anything about this?

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

Umm, the link Alex7 gave 16507699 doesn't have CE. Its WA.

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

I once got this verdict. Resubmitted the same code using the same compiler and got AC. I hope that doesn't happen to me inside a contest :/