seewhyjay / pe

0 stars 0 forks source link

Error message is different when using a number higher than MAX_INT for delete #2

Open seewhyjay opened 11 months ago

seewhyjay commented 11 months ago

More than MAX_INT

delete 1236219736217632187936128976389712312:

image.png

Less than MAX_INT

delete 123621

image.png

soc-pe-bot commented 11 months ago

Team's Response

The error message states that the index must be a positive integer which is the correct error message since 1236219736217632187936128976389712312 is not considered a positive integer because it is larger than 2,147,483,647.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: UG and DG both did not state that positive integer is referring to Java's implementation of integer, a positive integer by definition is 1 to +infinity.