/ Vijos /

记录详情

Compile Error

foo.cc: In function 'double getd(int, int)':
foo.cc:24:14: error: 'fabs' was not declared in this scope; did you mean 'labs'?
   24 |     double x=fabs(a[i].x-a[j].x);
      |              ^~~~
      |              labs
foo.cc:26:12: error: 'sqrt' was not declared in this scope
   26 |     return sqrt(x*x+y*y);
      |            ^~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1014 旅行商简化版
语言
C++
递交时间
2021-12-13 18:43:08
评测时间
2021-12-13 18:43:08
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes