/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'bool check(int, int, int, int)':
/in/foo.cc:42: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:29: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 20ms 14.977 MiB
#2 Accepted 15ms 15.0 MiB
#3 Accepted 12ms 15.082 MiB
#4 Accepted 31ms 14.98 MiB
#5 Wrong Answer 31ms 15.0 MiB
#6 Wrong Answer 11ms 15.082 MiB
#7 Wrong Answer 10ms 15.09 MiB
#8 Accepted 9ms 15.109 MiB
#9 Wrong Answer 10ms 15.094 MiB
#10 Wrong Answer 12ms 15.113 MiB

信息

递交者
类型
递交
题目
P1168 公路巡逻
语言
C++
递交时间
2017-10-11 13:50:17
评测时间
2017-10-11 13:50:17
评测机
分数
50
总耗时
167ms
峰值内存
15.113 MiB