/ Vijos /

记录详情

Compile Error

foo.cpp:1:18: warning: extra tokens at end of #include directive [enabled by default]
 #include<cstdio> #include<cstring> #include<iostream> #include<algorithm>
                  ^
foo.cpp: In function 'int main()':
foo.cpp:39:22: error: 'sort' was not declared in this scope
 sort(o + 1, o + N + 1);
                      ^
foo.cpp:46:25: error: 'unique' was not declared in this scope
 int hn = unique(H, H + N) - H;
                         ^
foo.cpp:48:43: error: 'lower_bound' was not declared in this scope
     o[i].v = lower_bound(H, H + hn, o[i].v) - H;
                                           ^
foo.cpp:49:25: error: 'memset' was not declared in this scope
 memset(dp, -1, sizeof dp);
                         ^
foo.cpp:53:1: error: 'cout' was not declared in this scope
 cout << ans << "\n";
 ^

信息

递交者
类型
递交
题目
P1821 二叉查找树
语言
C++
递交时间
2016-04-30 11:12:40
评测时间
2016-04-30 11:12:41
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes