QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#379400 | #2173. What's Our Vector, Victor? | ucup-team1005 | Compile Error | / | / | C++20 | 2.7kb | 2024-04-06 17:26:10 | 2024-04-06 17:26:10 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘std::pair<std::vector<long double>, std::vector<std::vector<long double> > > gauss(std::vector<std::vector<long double> >&, int, int)’: answer.code:16:80: error: expected ‘;’ before ‘j’ 16 | for (int k = j + 1; k < n; k++) if (abs(a[k][i] > abs(a[j][i])) j = k; | ^~ | ; answer.code:17:17: error: expected primary-expression before ‘if’ 17 | if (j == n || abs(a[j][i]) < eps) continue; | ^~ answer.code:16:87: error: expected ‘)’ before ‘if’ 16 | for (int k = j + 1; k < n; k++) if (abs(a[k][i] > abs(a[j][i])) j = k; | ~ ^ | ) 17 | if (j == n || abs(a[j][i]) < eps) continue; | ~~