/ TYWZ /

记录详情

Compile Error

/in/foo.cc: In function 'void search1(float, float)':
/in/foo.cc:11:29: error: cannot convert 'float*' to 'float' in assignment
  o=upper_bound(x+1,x+1+n,o+p);
                             ^
/in/foo.cc:12:29: error: cannot convert 'float*' to 'float' in assignment
  p=lower_bound(x+1,x+1+n,o-p);
                             ^
/in/foo.cc: In function 'void search2(float, float)':
/in/foo.cc:19:2: error: 'o' was not declared in this scope
  o=upper_bound(y+1,y+1+n,o+p);
  ^
/in/foo.cc:19:28: error: 'p' was not declared in this scope
  o=upper_bound(y+1,y+1+n,o+p);
                            ^
/in/foo.cc:20:30: error: expected primary-expression before ')' token
  p=lower_bound(y+1,y+1+n,o-p;)
                              ^

信息

递交者
类型
递交
题目
Query on Points
语言
C++
递交时间
2019-01-29 06:06:18
评测时间
2019-01-29 06:06:18
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes