/ JoyAc /

记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:30:23: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration]
    if(k1>=11||k2>=11&&abs(k1-k2)>=2){
                       ^~~
/in/foo.c:30:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(k1>=11||k2>=11&&abs(k1-k2)>=2){
               ~~~~~~^~~~~~~~~~~~~~~
/in/foo.c:56:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(k1>=21||k2>=21&&abs(k1-k2)>=2){
               ~~~~~~^~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 232.0 KiB
#2 Runtime Error 1ms 320.0 KiB
#3 Runtime Error 1ms 376.0 KiB
#4 Runtime Error 1ms 360.0 KiB
#5 Runtime Error 1ms 356.0 KiB
#6 Runtime Error 1ms 356.0 KiB
#7 Runtime Error 1ms 272.0 KiB
#8 Accepted 1ms 232.0 KiB
#9 Runtime Error 1ms 360.0 KiB
#10 Wrong Answer 1ms 224.0 KiB

信息

递交者
类型
递交
题目
P1011 乒乓球
语言
C
递交时间
2021-12-05 11:08:51
评测时间
2021-12-05 11:08:51
评测机
分数
10
总耗时
14ms
峰值内存
376.0 KiB