/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'bool judge(int, int, int)':
/in/foo.cc:19:19: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
  if(min(y[a],y[b])<=k*x[c]+y[a]-k*x[a]<=max(y[a],y[b]))return 1;
     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 352.0 KiB
#2 Accepted 3ms 360.0 KiB
#3 Accepted 3ms 328.0 KiB
#4 Wrong Answer 3ms 256.0 KiB
#5 Wrong Answer 3ms 372.0 KiB
#6 Accepted 5ms 360.0 KiB
#7 Wrong Answer 10ms 384.0 KiB
#8 Wrong Answer 19ms 356.0 KiB
#9 Wrong Answer 25ms 344.0 KiB
#10 Wrong Answer 25ms 256.0 KiB

信息

递交者
类型
递交
题目
P1920 校园足迹
语言
C++
递交时间
2017-09-06 17:48:58
评测时间
2017-09-06 17:48:58
评测机
分数
40
总耗时
104ms
峰值内存
384.0 KiB