记录报错原因:terminate called after throwing an instance

1.初始化错误 未定义n就直接使用 2.数组下标越界

1.初始化错误

未定义n就直接使用

2.数组下标越界