/ Vijos /

记录详情

Runtime Error

/in/foo.c: In function 'main':
/in/foo.c:28:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
                     if(p<=i&&p+k-1>=i&&q<=j+k-1||p>=i&&p<=i+k-1&&q<=j+k-1||q<j)
                        ~~~~~~~~~~~~~~^~~~~~~~~~
/in/foo.c:33:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
                             if(x<=p&&x+k-1>=p&&y<=q+k-1||x>=p&&x<=p+k-1&&y<=q+k-1||y<q||x<=i&&x+k-1>=i&&y<=j+k-1||x>=i&&x<=i+k-1&&y<=i+k-1)
                                ~~~~~~~~~~~~~~^~~~~~~~~~
/in/foo.c:33:103: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
                             if(x<=p&&x+k-1>=p&&y<=q+k-1||x>=p&&x<=p+k-1&&y<=q+k-1||y<q||x<=i&&x+k-1>=i&&y<=j+k-1||x>=i&&x<=i+k-1&&y<=i+k-1)
                                                                                         ~~~~~~~~~~~~~~^~~~~~~~~~
/in/foo.c:33:129: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
                             if(x<=p&&x+k-1>=p&&y<=q+k-1||x>=p&&x<=p+k-1&&y<=q+k-1||y<q||x<=i&&x+k-1>=i&&y<=j+k-1||x>=i&&x<=i+k-1&&y<=i+k-1)
                                                                                                                   ~~~~~~~~~~~~~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 604.0 KiB
#2 Accepted 2ms 636.0 KiB
#3 Accepted 2ms 616.0 KiB
#4 Runtime Error 965ms 608.0 KiB
#5 Runtime Error 391ms 608.0 KiB
#6 Time Exceeded ≥3003ms ≥604.0 KiB
#7 Time Exceeded ≥3001ms ≥596.0 KiB
#8 Runtime Error 393ms 608.0 KiB
#9 Runtime Error 395ms 608.0 KiB
#10 Time Exceeded ≥3002ms ≥600.0 KiB
#11 Time Exceeded ≥3004ms ≥604.0 KiB

信息

递交者
类型
递交
题目
P2002 采油区域
语言
C
递交时间
2019-07-12 23:18:38
评测时间
2019-07-12 23:19:38
评测机
分数
6
总耗时
14164ms
峰值内存
636.0 KiB