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_28755411_21314.cpp: In function 'void build(node*)':
0_0_28755411_21314.cpp:38:14: error: 'make_unique' was not declared in this scope
    p->lson = make_unique<node>();
              ^
0_0_28755411_21314.cpp:38:30: error: expected primary-expression before '>' token
    p->lson = make_unique<node>();
                              ^
0_0_28755411_21314.cpp:38:32: error: expected primary-expression before ')' token
    p->lson = make_unique<node>();
                                ^
0_0_28755411_21314.cpp:43:14: error: 'make_unique' was not declared in this scope
    p->rson = make_unique<node>();
              ^
0_0_28755411_21314.cpp:43:30: error: expected primary-expression before '>' token
    p->rson = make_unique<node>();
                              ^
0_0_28755411_21314.cpp:43:32: error: expected primary-expression before ')' token
    p->rson = make_unique<node>();
                                ^
0_0_28755411_21314.cpp: In function 'int main()':
0_0_28755411_21314.cpp:91:27: error: 'make_unique' was not declared in this scope
   unique_ptr<node> root = make_unique<node>();
                           ^
0_0_28755411_21314.cpp:91:43: error: expected primary-expression before '>' token
   unique_ptr<node> root = make_unique<node>();
                                           ^
0_0_28755411_21314.cpp:91:45: error: expected primary-expression before ')' token
   unique_ptr<node> root = make_unique<node>();
                                             ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-03-11 13:02:41, Gzip enabled