Compile Error
/in/foo.cc: In function 'double getd(int, int)': /in/foo.cc:66:14: error: 'fabs' was not declared in this scope; did you mean 'labs'? 66 | double x=fabs(a[i].x-a[j].x); | ^~~~ | labs /in/foo.cc:68:12: error: 'sqrt' was not declared in this scope 68 | return sqrt(x*x+y*y); | ^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1014 旅行商简化版
- 语言
- C++
- 递交时间
- 2025-03-20 19:57:41
- 评测时间
- 2025-03-20 19:57:41
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes