F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_26134659_21321.cpp:5:14: error: 'pt' was not declared in this scope
 typedef tree<pt,null_type,less< pt >,rb_tree_tag,tree_order_statistics_node_update> rbtree;
              ^
0_0_26134659_21321.cpp:5:27: error: 'less' was not declared in this scope
 typedef tree<pt,null_type,less< pt >,rb_tree_tag,tree_order_statistics_node_update> rbtree;
                           ^
0_0_26134659_21321.cpp:5:27: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:48:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iterator:64,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/pb_ds/tree_policy.hpp:45,
                 from 0_0_26134659_21321.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_function.h:367:12: note:   'std::less'
     struct less : public binary_function<_Tp, _Tp, bool>
            ^
0_0_26134659_21321.cpp:5:33: error: 'pt' was not declared in this scope
 typedef tree<pt,null_type,less< pt >,rb_tree_tag,tree_order_statistics_node_update> rbtree;
                                 ^
0_0_26134659_21321.cpp:5:36: error: template argument 1 is invalid
 typedef tree<pt,null_type,less< pt >,rb_tree_tag,tree_order_statistics_node_update> rbtree;
                                    ^
0_0_26134659_21321.cpp:5:36: error: template argument 3 is invalid
0_0_26134659_21321.cpp:5:37: error: expected unqualified-id before ',' token
 typedef tree<pt,null_type,less< pt >,rb_tree_tag,tree_order_statistics_node_update> rbtree;
                                     ^
0_0_26134659_21321.cpp:5:49: error: invalid type in declaration before ',' token
 typedef tree<pt,null_type,less< pt >,rb_tree_tag,tree_order_statistics_node_update> rbtree;
                                                 ^
0_0_26134659_21321.cpp:5:83: error: expected initializer before '>' token
 typedef tree<pt,null_type,less< pt >,rb_tree_tag,tree_order_statistics_node_update> rbtree;
                                                                                   ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-06-30 14:21:47, Gzip enabled