Compile Error
foo.cpp: In function 'bool equal(double, double)': foo.cpp:8:63: error: 'abs' was not declared in this scope inline bool equal(double lhs, double rhs) { return abs(lhs-rhs) < DELTA; } ^ foo.cpp:8:74: warning: control reaches end of non-void function [-Wreturn-type] inline bool equal(double lhs, double rhs) { return abs(lhs-rhs) < DELTA; } ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1278 My Story Your Song-雨天
- 语言
- C++
- 递交时间
- 2015-07-24 16:31:15
- 评测时间
- 2015-07-24 16:31:17
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes