/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'bool operator<(P, P)':
/in/foo.cc:23:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
 bool operator<(P a,P b){return a.x<b.x||a.x==b.x&&a.y<b.y;}
                                         ~~~~~~~~^~~~~~~~~
/in/foo.cc: In function 'bool cross()':
/in/foo.cc:69:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<v.size();++i){
              ~^~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 360.0 KiB
#2 Wrong Answer 3ms 372.0 KiB
#3 Wrong Answer 4ms 256.0 KiB
#4 Wrong Answer 10ms 360.0 KiB
#5 Wrong Answer 4ms 256.0 KiB
#6 Wrong Answer 16ms 348.0 KiB
#7 Wrong Answer 10ms 344.0 KiB
#8 Wrong Answer 8ms 384.0 KiB

信息

递交者
类型
递交
题目
P1296 监控摄像机
语言
C++
递交时间
2018-05-13 20:15:55
评测时间
2018-05-13 20:15:55
评测机
分数
0
总耗时
62ms
峰值内存
384.0 KiB