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).
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 ?
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.
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.
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).