QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#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.
詳細信息
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; | ~~