/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'bool check(int, int, int, int)':
/in/foo.cc:43:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  return x1 < x2 && y1 > y2 || x1 > x2 && y1 < y2;
         ~~~~~~~~^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:30:5: warning: 'ans2' may be used uninitialized in this function [-Wmaybe-uninitialized]
  aa %= 3600;
  ~~~^~~~~~~
/in/foo.cc:116:12: note: 'ans2' was declared here
  int ans1, ans2;
            ^~~~
# 状态 耗时 内存占用
#1 Accepted 11ms 18.676 MiB
#2 Accepted 13ms 15.695 MiB
#3 Accepted 41ms 15.68 MiB
#4 Accepted 184ms 16.426 MiB
#5 Accepted 190ms 18.676 MiB
#6 Accepted 9ms 16.055 MiB
#7 Accepted 304ms 17.051 MiB
#8 Accepted 974ms 18.695 MiB
#9 Time Exceeded ≥1007ms ≥18.051 MiB
#10 Time Exceeded ≥1007ms ≥17.43 MiB

信息

递交者
类型
递交
题目
P1168 公路巡逻
语言
C++
递交时间
2017-10-11 19:47:43
评测时间
2017-10-11 19:47:43
评测机
分数
80
总耗时
≥3745ms
峰值内存
≥18.695 MiB