Why does it show runtime error?

It is working absolutely fine in the CB IDE:-


Then why is it showing runtime error here?

Max size of array can be 1000 an u have entered only 100.