Open sreecharan1306 opened 23 hours ago
LeetCode Support commented: Hello,
Your reported issue has been relayed to our team for thorough investigation. We appreciate your patience as we work to address and resolve this matter. We will reach out to you when we have updates regarding the issue.
If you have any further questions or concerns in the meantime, please feel free to let us know.
Best regards, LeetCode Support Team
LeetCode Username
mscharan1313
Problem Number, Title, and Link
Bug Category
Missing test case (Incorrect/Inefficient Code getting accepted because of missing test cases)
Bug Description
Test case
a=3
,b=0
,c=4
works and was accepted. However, test casea=3
,b=4
,c=0
does not work with my code.Language Used for Code
Python/Python3
Code used for Submit/Run operation
Expected behavior
In the first test case where a=3, b=0, and c=4, the code appears to function correctly and produces the expected result, leading to an "accepted" status. This indicates that the logic implemented in the code is correctly handling this specific set of input values.
In the second test case with a=3, b=4, and c=0, the code does not work as intended, meaning it fails to produce the correct output based on the expected logic. However, it still receives an "accepted" status, which suggests that the test case did not adequately capture the edge cases where the code failed.
The expected behavior is that the code should function correctly for all given test cases to be deemed as "accepted." However, the discrepancy lies in the fact that it was accepted despite a failure to provide the correct output in the second case. This inconsistency may indicate issues in lack of edges cases in test cases.
Screenshots
No response
Additional context
No response