QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#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.
Details
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