4 ms·
I threw a leetcode easy description into ChatGPT and submitted the solution without any editing. It passed all the test cases and got in the 95th percentile for
by bradjohnson 4y ago
I threw a leetcode easy description into ChatGPT and submitted the solution without any editing. It passed all the test cases and got in the 95th percentile for efficiency of C++ submissions.
I haven't tried anything more advanced, but to go from simple requirements to solution without any clarification or even method signatures (It guessed the correct method signature down to the name and input params) was pretty dang impressive to me.
- AnonymousPlanet 4y agoChances are, you gave it a problem that was actually in its training set.
- bradjohnson 4y agoIt's still impressive to me even if it was in its training set. The data used for training is not stored verbatim in the OpenAI model. It would still need to parse the context anew and solve the problem given its understanding of the boundaries of what I've written.
- Dopameaner 4y agoOn contrast, I did it for projecteuler and told it needs to be extremely efficient or math. Didnt give me an appropriate result.