3 ms·
When your code is wrong, the server gives you a clue hinting at what's wrong in the original code. It doesn't know what's wrong in the code you submitted... it
by bugfix-66 4y ago
When your code is wrong, the server gives you a clue hinting at what's wrong in the original code.
It doesn't know what's wrong in the code you submitted... it is not understanding deeply what's wrong with your code. It's not some huge multi-terabyte language model analyzing arbitrary code, or whatever.
It just knows your code is wrong and gives you a clue so you can try again.
- dekhn 4y agoIf you omit the decrement, it's an infinite loop for n>1, presumably, you are detecting that?
- bugfix-66 4y agoThe server is checking the output of the function. Here is an example of what's running behind the scenes, to help you understand: https://bugfix-66.com/contribute https://bugfix-66.com/contribute The above code is what's being used for Bug #1: https://bugfix-66.com/a6cb1e062ae0fdc47b43ec489aa40a958db728b355c2cf3fccb144ee5eaa333a https://bugfix-66.com/a6cb1e062ae0fdc47b43ec489aa40a958db728... Is that pretty clear?