/ 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:108:12: note: 'ans2' was declared here
  int ans1, ans2;
            ^~~~
# 状态 耗时 内存占用
#1 Accepted 35ms 15.715 MiB
#2 Accepted 30ms 16.582 MiB
#3 Accepted 459ms 18.867 MiB
#4 Accepted 64ms 17.461 MiB
#5 Accepted 64ms 16.59 MiB
#6 Accepted 9ms 16.113 MiB
#7 Time Exceeded ≥1004ms ≥18.98 MiB
#8 Time Exceeded ≥1007ms ≥18.242 MiB
#9 Time Exceeded ≥1007ms ≥18.094 MiB
#10 Time Exceeded ≥1007ms ≥17.605 MiB

信息

递交者
类型
递交
题目
P1168 公路巡逻
语言
C++
递交时间
2017-10-12 13:29:52
评测时间
2017-10-12 13:29:53
评测机
分数
60
总耗时
≥4690ms
峰值内存
≥18.98 MiB