记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:22:56: error: 'lower_bound' was not declared in this scope
                   int y=lower_bound(a+1,a+top+1,len-x+1)-a;
                                                        ^
/in/foo.cc:22:56: note: suggested alternative:
In file included from /usr/include/c++/6/algorithm:62:0,
                 from /in/foo.cc:3:
/usr/include/c++/6/bits/stl_algo.h:2020:5: note:   'std::lower_bound'
     lower_bound(_ForwardIterator __first, _ForwardIterator __last,
     ^~~~~~~~~~~

信息

递交者
类型
递交
题目
最大数
题目数据
下载
语言
C++
递交时间
2018-08-06 22:13:08
评测时间
2018-08-06 22:13:08
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes