Broken calculator question

It is showing-1 test case failed.pl tell the mistake

Ayush, just change the line no 3 of your code , change size from 500 to 1000, since large value is not getting stored for the size you have taken, try submitting after that