• ulterno@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    10 hours ago

    So I don’t find coding challenge sites/events fun, but a few years ago, I thought it might be nice to try out ChatGPT on it.
    Although I exited after the first question itself, I did get to evaluate ChatGPT at the point (3, I suppose).

    I simply pasted the whole question into ChatGPT and it spewed out code which was a pretty good match for what was required.
    But no matter how many types of prompts I tried (even giving the solution logic to the part that was wrong), that specific part of the output was always wrong.

    On the other hand, when I manually corrected the C code and gave it to convert to C++, it ended up working on the first try (I didn’t even read that output).
    I then tried converting the correct code to Rust and I don’t remember what I did with the output, but it surely didn’t pass the assessment.