QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#350127 | #7184. Transport Pluses | HuangHanSheng | Compile Error | / | / | C++23 | 2.8kb | 2024-03-10 14:34:30 | 2024-03-10 14:34:30 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘int main()’: answer.code:71:40: error: ‘sqrt’ was not declared in this scope 71 | printf("%.10lf\n1\n0 %d %d\n", sqrt((xh - xe) * (xh - xe) + (yh - ye) * (yh - ye)), xe, ye); | ^~~~ answer.code:79:10: error: ‘reverse’ is not a member of ‘std’ 79 | std::reverse(path.begin(), path.end()); | ^~~~~~~ answer.code:13:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 13 | scanf("%d%d%d%d%d%d", &n, &t, &xh, &yh, &xe, &ye); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ answer.code:15:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 15 | scanf("%d%d", &xp[i], &yp[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~