Wrong Answer
foo.c: In function 'main': foo.c:46:29: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] 46 | sum = sum + abs(a[i] - X) + abs(b[i] - Y); | ^~~ foo.c:3:1: note: include '<stdlib.h>' or provide a declaration of 'abs' 2 | #include<math.h> +++ |+#include <stdlib.h> 3 | int main()
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- P1389 Problem 1A. 中秋月饼
- 语言
- C
- 递交时间
- 2022-09-27 19:46:51
- 评测时间
- 2022-09-27 19:46:51
- 评测机
- 分数
- 0
- 总耗时
- 2ms
- 峰值内存
- 256.0 KiB