/ 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:99:12: note: 'ans2' was declared here
  int ans1, ans2;
            ^~~~
# 状态 耗时 内存占用
#1 Accepted 17ms 15.836 MiB
#2 Accepted 11ms 15.598 MiB
#3 Accepted 32ms 18.113 MiB
#4 Accepted 87ms 18.605 MiB
#5 Accepted 76ms 15.25 MiB
#6 Accepted 9ms 15.75 MiB
#7 Accepted 165ms 18.094 MiB
#8 Accepted 397ms 17.719 MiB
#9 Accepted 715ms 17.375 MiB
#10 Time Exceeded ≥1007ms ≥18.352 MiB

信息

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