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

Автор Error_Yuan, 3 года назад, По-английски

Unfortunately, Problem C was coincidenced with a problem authored by me on Luogu (a famous Online Judge platform in China). Here is the link.

Even worse, this problem occured on a recent contest on Luogu (May 2023).

It seems that many people just copied the solution.

upd: Here is the English statement of the problem from Luogu.

You are given two integers $$$n$$$ and $$$k$$$.

Let us define the balance of a permutation $$$^\dagger$$$ $$$a$$$ of length $$$n$$$ by the following progress:

  • For all $$$1\le i\le n$$$, let $$$b_i=\gcd(a_i,a_{i+1})^\ddagger$$$, specifically, we consider $$$a_{n+1}=a_1$$$;
  • The balance of $$$a$$$ equals to the number of distinct intergers in the array $$$b$$$.

You have to find a permutation $$$p$$$ of length $$$n$$$, which balance is exactly $$$k$$$, or determine no such permutation exists.

$$$^\dagger$$$ A permutation of length $$$n$$$ is an array containing each integer from $$$1$$$ to $$$n$$$ exactly once. For example, $$$[2,3,1,5,4]$$$ is a permutation, but $$$[1,2,2]$$$ is not a permutation ($$$2$$$ appears twice in the array), and $$$[1,3,4]$$$ is also not a permutation ($$$n=3$$$ but there is $$$4$$$ in the array).

$$$^\ddagger$$$ $$$\gcd(x,y)$$$ denotes the greatest common divisor (GCD) of integers $$$x$$$ and $$$y$$$.

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

»
3 года назад, скрыть # |
 
Проголосовать: нравится +195 Проголосовать: не нравится

You, of course, are shocked. You, of course, think that the round should be unrated.

You are wrong. Here's why.

»
3 года назад, скрыть # |
Rev. 2  
Проголосовать: нравится +3 Проголосовать: не нравится

The whole platform is in Chinese, I'd say that this particular problem is somewhat plagiarism-proof.

(Something something widely known in China...)

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

"It seems that many people just copied the solution."

how many people do you think use luogo outside China?

»
3 года назад, скрыть # |
Rev. 3  
Проголосовать: нравится +20 Проголосовать: не нравится

Before you attack the authors, I think this is truly a case of bad coincidence. We don't have unlimited amount of idea, and sometimes, people come up with the same idea.

EDIT: The original version is the same as the one from lougu, so I'm not so sure now.

As a tester, I originally tested the round with a harder version of C. Since testers had difficulties with that, it was changed to this easier version. If anything, this prove that the author didn't copy or even take inspiration, because why would they just replace the task with the version they copied or took inspiration from?

»
3 года назад, скрыть # |
Rev. 3  
Проголосовать: нравится +7 Проголосовать: не нравится

imo, this problem is way too generic to appear on codeforces altogether, regardless of whether it has been copied from a recent contest or not

»
3 года назад, скрыть # |
 
Проголосовать: нравится +136 Проголосовать: не нравится

I can guarantee that we didn't copy, pure coincidence, sorry for that :(

Anyone who is not retarded stupid would not copy problems, and arbuzick — the author of the problem, is almost an IOI participant and codeforces IGM, so I hope it is pretty convincing :)

Lastly, hardly no one in Russia uses luogu, since even its iterface is not translated.

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

Tbh this version of the problem is much better as someone that knows why the sol of today's C works can solve this problem directly (while someone who guessed it can't)

»
3 года назад, скрыть # |
 
Проголосовать: нравится +14 Проголосовать: не нравится

"It seems that many people just copied the solution." I think we can't blame this way, the question was ..I think... typically a bit easier than other C problems of div2 ,but the B had a herculean language to be understood, so a lot of people(like me ,who usually can't solve C) shifted to C and thought over it rigorously so that we don't negative delta... another fact is , I think the approach is quite general.Maybe I am a newbie, not sure if I am suitable enough to comment here, but just expressed my opinion , since a friend of mine forwarded this blog to me

»
3 года назад, скрыть # |
 
Проголосовать: нравится -16 Проголосовать: не нравится

You are wrong. Here's why.

That contest was on 5,14.

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

also Luogu, even if it is famous in china, I don't think so it is so well known in English speaking countries like mine,I even heard of Kattis,but not Luogu

so I think,we can't blame this way right?

»
3 года назад, скрыть # |
 
Проголосовать: нравится +1 Проголосовать: не нравится

It's a good contest,but I think C is really influent the rating.(

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится
»
3 года назад, скрыть # |
 
Проголосовать: нравится -78 Проголосовать: не нравится

I think many people copied the solution isn't important.What's more,it should be unrated.

»
3 года назад, скрыть # |
 
Проголосовать: нравится +23 Проголосовать: не нравится

Some people asking for the round unrated. Are they stupid? This scenario happened before and mike clarify the issue. Here is the blog link: https://mirror.codeforces.com/blog/entry/112709

»
3 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

This site can’t be reachedThe webpage at https://www.luogu.com.cn/contest/ might be temporarily down or it may have moved permanently to a new web address. ERR_TUNNEL_CONNECTION_FAILED :(