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

Автор Anas_Da, история, 11 месяцев назад, По-английски

Hello codeforces

yesterday there was a div4

at the middle of the contest

I noticed that a large amount of coders came up with the solution of problem E at the same time

so (as I am unrated for div4 contest)

I did some search on internet

and found a live stream that is currently solving the problems

so I see the code of problem E

and I would say that it is very familiar to a lot of codes that get AC here at the time that it published

now a lot might say why would i care about div4

a lot of people waits div4 for positive delta

and I know coders that was getting around +100 rating

but because of that they got negative delta because they didn't come up with problem E

I will add some photos

youtube code
some codes from codeforces

my point is

cheating is bad for you

but if you don't care

just don't ruin contest for other people

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

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

Thanks Anas!!

This is really a serious issue

»
11 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

Thank you very much; I couldn't solve problem E either. Still, I don't find much sense in 'hacking' the solution; you don't end up learning anything.

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

    By hacking solutions one learns about how to come up with testcases which can break a solution and its a very important skill for both, problem creation and solving.

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

not defending the cheaters, but the problem is pretty standard and the solution is obviously very likely to coincide so you $$$might've$$$ gotten the wrong people ? idk.

»
11 месяцев назад, # |
  Проголосовать: нравится +29 Проголосовать: не нравится

Such a beautiful poem.

Each line has a very profound meaning

I wish I could

Write a beautiful poem like this

»
11 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

It may get hacked later due to an unordered map ;)

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

    Can someone please explain why does the std::unordered_map gets hacked, but the std::map doesn't? Isn't the unordered one faster than the normal?

»
11 месяцев назад, # |
  Проголосовать: нравится -8 Проголосовать: не нравится

Thanks Anas_Da, people like you keeping people like us motivated by exposing cheating. In recent times rejudgement of previous rounds are great for me.

»
11 месяцев назад, # |
  Проголосовать: нравится +3 Проголосовать: не нравится

Oh, unordered map without safe hash, is there any blog on how to hack such unordered maps?

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

This might explain the inf unordered_map hacks in the last div 4

»
11 месяцев назад, # |
  Проголосовать: нравится +15 Проголосовать: не нравится

last christmas, i gave you my code

but the very next day, you just got skipped

this year, to save me from -ve

i'll give it to someone with cheating skills

»
11 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I suggest not allowing people to comment on tha main blog of the contest during it, as they always hike people from there .

»
11 месяцев назад, # |
  Проголосовать: нравится +7 Проголосовать: не нравится

Thank you for trying to expose cheaters and I wish that Codeforces act soon so we can make this platform a better place for CP-ers

»
11 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I see that the solution uses an unordered map and according to my experience with unordered maps mostly there is a case that takes o(n) time rather than o(logn) so the solutions must've already been hacked by other coders. I don't think there is any reason to worry over the petty code codeforces will surely adjust the ratings after removing the cheaters.

»
11 месяцев назад, # |
  Проголосовать: нравится +5 Проголосовать: не нравится

They got the hacks they deserve.. I guess it was leaked on purpose to do more hacks. xD

»
10 месяцев назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

https://codeforces.me/contest/1915/submission/239288878

I didnt watch the youtube video you are talking about and still have similar code to those you have refered to. The problem was just typical.