/ Vijos /

记录详情

Compile Error

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

信息

递交者
类型
递交
题目
P1014 旅行商简化版
语言
C++
递交时间
2021-07-24 19:56:09
评测时间
2021-07-24 19:56:09
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes