Runtime Error
foo.c: In function 'judgement':
foo.c:33:17: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration]
33 | else if(abs(small1-small2)==2&&small1>small2&&small2>=type-1)
| ^~~
foo.c:3:1: note: include '<stdlib.h>' or provide a declaration of 'abs'
2 | #include<math.h>
+++ |+#include <stdlib.h>
3 | char score[10000];
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1217 乒乓球
- 语言
- C
- 递交时间
- 2022-09-08 14:15:20
- 评测时间
- 2022-09-08 14:15:20
- 评测机
- 分数
- 10
- 总耗时
- 28ms
- 峰值内存
- 384.0 KiB