rt,主要是 a[i] 和 b[i,j] 的范围。
a[i]
b[i,j]
另外建议把 输入文件名:input.txt 和 输出文件名:output.txt 这两个去掉,毕竟线上测试不需要文件操作。
输入文件名:input.txt
输出文件名:output.txt