/ Vijos /

记录详情

Accepted

/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 11ms 15.805 MiB
#2 Accepted 8ms 15.672 MiB
#3 Accepted 12ms 18.809 MiB
#4 Accepted 6ms 16.316 MiB
#5 Accepted 6ms 15.805 MiB
#6 Accepted 6ms 15.551 MiB
#7 Accepted 31ms 15.305 MiB
#8 Accepted 68ms 17.926 MiB
#9 Accepted 124ms 18.426 MiB
#10 Accepted 183ms 18.816 MiB

信息

递交者
类型
递交
题目
P1168 公路巡逻
语言
C++
递交时间
2017-10-12 13:42:20
评测时间
2017-10-12 13:42:20
评测机
分数
100
总耗时
459ms
峰值内存
18.816 MiB