QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#658130 | #7906. Almost Convex | Soohti | Compile Error | / | / | C++17 | 2.9kb | 2024-10-19 16:13:10 | 2024-10-19 16:13:12 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘double cos(Point, Point, Point)’: answer.code:30:55: error: ‘sqrt’ was not declared in this scope 30 | return (dis(a, b) + dis(b, c) - dis(a, c)) / (2 * sqrt(dis(a, b)) * sqrt(dis(b, c))); | ^~~~ answer.code: In function ‘int main()’: answer.code:48:5: error: ‘sort’ was not declared in this scope; did you mean ‘short’? 48 | sort(list, list + n, cmp); | ^~~~ | short