关于无解的判断:
错误示范
if(a[i][n + 1] > eps) return cout << -1, 0;
正确示范
if(abs(a[i][n + 1]) > eps) return cout << -1, 0;
省流,忘了加绝对值