About cheaters in CoC

Hello,

Since the emergence of AI, we can obviously notice that there are more and more cheaters in CoC.
There are actually two kind of cheaters :

def create_number_box(x, y):
    box = []
    num = 1
    for i in range(x // y):
        row = []
        for j in range(y):
            row.append(num)
            num += 1
        box.append(row)
    return box

# Entrée : x = 6, y = 2
x = int(input())
y = int(input())

# Appel de la fonction pour créer la boîte de nombres
number_box = create_number_box(x, y)

# Affichage du résultat
for row in number_box:
    print(' '.join(str(num) for num in row))
  • Those which copy/paste the solution form the dashboard “Contributions > Validated CoC” by searching by the author’s name

Actually, it kills the spirit of the developers and will kill the CoC.
What is your position and what do you plan to fight against cheaters ?

4 Likes

It’s very frustrating.

I was just in a clash with user neohr71 in which they submitted in 25 seconds for a puzzle that was not hard, but took at least 20 seconds to understand and then minimum 30 seconds to code (even for an absurdly fast coder).

Clash: Coding Games and Programming Challenges to Code Better

Contribution:

It would be nice to have these users’ code checked for cheating, but it’s rare that they would share after cheating (this user didn’t).

1 Like

I can confirm the same user having submitted in less than 1 minute a solution whereas all the other were at more that 10 minutes.

2 Likes

hello,
i just had the exact same problem :slightly_smiling_face:

a user who pasted this in 44s :
(no doubt : the automatic code is deleted, and this one is with comments)

import re

line = input()

# Remove the comments from the line
line = re.sub(r'/\*.*?\*/', '', line)

# Count the number of digital characters
count = sum(1 for char in line if char.isdigit())

print(count)

did you have any other answers, like from the staff ?

1 Like

Another likely cheater, user Derbazi_Mokhtar, submitted the below code in 50 seconds to a problem about abbreviating phrases in ‘< >’.

import re
message = input()
def replace_match(match):
    words = match.group(1).split()
    acronym = "".join(word[0] for word in words)
    return acronym
abbreviated_message = re.sub(r"<(.*?)>", replace_match, message)
print(abbreviated_message)

Seems pretty obviously generated by ChatGPT to me, because no speed-coder is going to define a fully-named function for such a purpose, and long, descriptive variable names and still submit in 50 seconds.

Contribution:

there is more and more … and hiding their solutions

1 Like

Another likely cheater, user RabilliGanesh , submitted hidden code in 49 seconds to a problem about determining whether an input integer value of note could be evenly changed for made from other integer-valued notes given in the input. Some cases required you to solve for situations where none of the notes evenly divided the number, but combinations could.

Seems likely that a 49 second solution is from cheating, to me, but it’s not 100% sure.

Clash

Submission

Another likely cheater, user PondZA, submitted hidden code in 43 seconds to a problem of finding the area of a polygon given all it’s coordinates (shoelace formula needed, but never mentioned in the text).

I know the formula nearly by-heart now, but it still took me 2.5 minutes to code up. I highly doubt any human coded the shoelace formula in 43 seconds (not to mention the time to read the problem).

Clash
Submission