Recently, the chat bot ChatGPT is released to the public: https://chat.openai.com/chat.
Try typing in "generate the KMP algorithm in c++", or "diameter of tree in c++ using adjacency list". Or even "multisource bfs implementation". It immediately gives you the code for it. Crazy right?
This brings on the question: how will this affect competitive programming in the future? I know there have been many programming AI bots before like Github Copilot, but ChatGPT takes it to a completely different level.
Interested in hearing your thoughts about this.
There are obvious limits for ChatGPT. For example, ChatGPT does not implement code based on academic paper for me. I asked ChatGPT to "write a code to represent an integer (of arbitrary length) into sums of three palindromes". (The paper for this is Every positive integer is a sum of three palindromes by Javier Cilleruelo, Florian Luca, Lewis Baxter) As a result, it simply wrote a bruteforce on every single palindrome possible. That's one proof that it's not OP to certain extents.
u should change all the cyan in your pfp into blue
uh
Btw the solution is incorrect :)
no way
These are well known algorithms .
The only thing I use ChatGPT for is doing my history and english HW.
There's a thing called Google, it also immediately gives code to any known algorithms.