/ Vijos /

记录详情

Runtime Error

/in/foo.c: In function 'type':
/in/foo.c:11:26: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration]
   if((h==kind||e==kind&&(abs(h-e)>=2))||(h>kind||e>kind&&(abs(h-e)>=2)))
                          ^~~
/in/foo.c:11:23: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if((h==kind||e==kind&&(abs(h-e)>=2))||(h>kind||e>kind&&(abs(h-e)>=2)))
                ~~~~~~~^~~~~~~~~~~~~~~
/in/foo.c:11:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if((h==kind||e==kind&&(abs(h-e)>=2))||(h>kind||e>kind&&(abs(h-e)>=2)))
                                                  ~~~~~~^~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 176.0 KiB
#2 Wrong Answer 2ms 256.0 KiB
#3 Wrong Answer 2ms 256.0 KiB
#4 Wrong Answer 2ms 256.0 KiB
#5 Wrong Answer 3ms 256.0 KiB
#6 Runtime Error 3ms 256.0 KiB
#7 Runtime Error 3ms 256.0 KiB
#8 Accepted 2ms 256.0 KiB
#9 Wrong Answer 1ms 256.0 KiB
#10 Accepted 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1217 乒乓球
语言
C
递交时间
2017-08-30 21:01:55
评测时间
2017-08-30 21:01:55
评测机
分数
30
总耗时
24ms
峰值内存
256.0 KiB