Compile Error
/in/foo.cc: In function 'bool cmp(lx, lx)': /in/foo.cc:12:20: error: 'sqr' was not declared in this scope return (sqr(a.x)+sqr(a.y))<(sqr(b.x)+sqr(b.y)); ^ /in/foo.cc: In function 'int main()': /in/foo.cc:22:33: error: 'sqr' was not declared in this scope ans=sqrt(sqr((p[n].x-p[1].x))+sqr((p[n].y-p[1].y))); ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1012 清帝之惑之雍正
- 语言
- C++
- 递交时间
- 2024-09-19 18:44:40
- 评测时间
- 2024-09-19 18:44:40
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes