Re:Can LLMs write better code if you keep asking them to "wr...
by zahlman on Saturday January 04, 2025 @07:37AM
(#42594361)
Each sum involves determining the digits to sum, which involves using % multiple times.
Also, you don't have to use % in order to decide whether to perform the sum-of-digits check for a given value. You can just iterate over values to check in steps of 9.
Also, you don't have to use % in order to decide whether to perform the sum-of-digits check for a given value. You can just iterate over values to check in steps of 9.