/ Vijos /

记录详情

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[100];
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Wrong Answer Read 115:6, expect 2:0. 2ms 256.0 KiB
#3 Wrong Answer Read 174:5, expect 2:4. 2ms 256.0 KiB
#4 Runtime Error Segmentation fault 2ms 384.0 KiB
#5 Runtime Error Segmentation fault 2ms 384.0 KiB
#6 Runtime Error Segmentation fault 1ms 256.0 KiB
#7 Runtime Error Segmentation fault 1ms 256.0 KiB
#8 Wrong Answer Read 2:0, expect 1:1. 1ms 256.0 KiB
#9 Wrong Answer Read 0:0, expect 148:148. 2ms 256.0 KiB
#10 Wrong Answer 2,3d1 < 1:0 < 5a4 > 11:0 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1217 乒乓球
语言
C
递交时间
2022-09-08 13:33:49
评测时间
2022-09-08 14:00:03
评测机
分数
10
总耗时
21ms
峰值内存
384.0 KiB