0_0_38876572_10762.cpp: In function 'bool zero(double)':
0_0_38876572_10762.cpp:18:9: error: 'fabs' was not declared in this scope; did you mean 'labs'?
18 | if (fabs(x) < eps) return true;
| ^~~~
| labs
0_0_38876572_10762.cpp: In function 'void guass()':
0_0_38876572_10762.cpp:33:17: error: 'fabs' was not declared in this scope; did you mean 'labs'?
33 | if (fabs(a[i][c]) > fabs(a[t][c])) t = i;
| ^~~~
| labs
0_0_38876572_10762.cpp:35:13: error: 'fabs' was not declared in this scope; did you mean 'labs'?
35 | if (fabs(a[t][c]) < eps) continue; //c这一列都是0
| ^~~~
| labs
0_0_38876572_10762.cpp:51:17: error: 'fabs' was not declared in this scope; did you mean 'labs'?
51 | if (fabs(a[i][n + 1]) > eps) {
| ^~~~
| labs
0_0_38876572_10762.cpp:70:9: error: 'vector' was not declared in this scope
70 | vector<double> jie;
| ^~~~~~
0_0_38876572_10762.cpp:4:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
3 | #include <cstring>
+++ |+#include <vector>
4 | #define mm(a,n) memset(a, n, sizeof(a))
0_0_38876572_10762.cpp:70:16: error: expected primary-expression before 'double'
70 | vector<double> jie;
| ^~~~~~
0_0_38876572_10762.cpp:71:9: error: 'jie' was not declared in this scope
71 | jie.pb(0);
| ^~~
|