When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

qwertsboy1234's blog

By qwertsboy1234, history, 3 years ago, In English

Many codes are going to fail system test today for the problem B of contest Codeforces round 717.Its my prediction,let's see what happens.

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

| Write comment?
»
3 years ago, # |
  Vote: I like it +47 Vote: I do not like it

Nice

»
3 years ago, # |
  Vote: I like it +11 Vote: I do not like it

gg :(

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

orz

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

What if you are mohammedehab2002's alt account and you knew pretests were weak? :)

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

I'm curious to know what motivated you to picking problem B as that special problem

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

    This seems to always happen with bruteforce range condition problems, as people always submit cheese sols. But perhaps there is something more?

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

      I failed it(I qualify as a cheese sol writer)can you tell me how not to approach such questions or how to do so. What to avoid and all.

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

    In my case, I mistakenly wrote a[i] in place of a[j] at one place and still my code passed pretest 2 and 3.

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

    The reason i came to know because usual b problems for which answer is boolena type i.e yes or no 10^4 test cases are checked,but today only 5 test setseach having maximum 15 with 1 having just 2 test cases thus total mybe max 62 which is very very very less number of test cases to be checked for boolean type problems.

»
3 years ago, # |
  Vote: I like it +42 Vote: I do not like it

CF FST-Predictor

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

I initially thought that Xor of array should be 0. I got wrong answer on pretest 3. I was thinking of a counter case and then realize of a countercase like this and corrected myself:

4

3 3 3 0

Guess what the above case was the hack XD.

»
3 years ago, # |
  Vote: I like it +8 Vote: I do not like it

That is why I did stress testing already.