april-anh / pe

0 stars 0 forks source link

Wrong error message for large input index #5

Open april-anh opened 1 year ago

april-anh commented 1 year ago

I assume the expected behavior should be the same as input 100, that is index out of range since 100...0 is still a positive integer

image.png

image.png

nus-pe-script commented 1 year ago

Team's Response

Example of extreme user behaviour, caused by integer overflow of integer values over 2147483647.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]