Re:Can LLMs write better code if you keep asking them to "wr...
by freehorse on Saturday January 04, 2025 @05:33AM
(#42593896)
It depends on how you read the problem still. In a lot of the llms solutions the array is not provided in the solving functions but rather constructed inside (as instead of defining the function with an input and then creating a main function that would be called with no argument, construct an array and call the solving function with that as argument, as typical in python), so I assume the llm did not read it like this or also failed this aspect of the code (which was never really mentioned). It is not clear if we are given a specific array of integers or one input is an array of random variables that we need to instantiate ourselves.
[ Parent
| on HN ]
There are no comments on this comment yet.