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_22551763_28722.cpp:7:7: error: expected nested-name-specifier before 'namespacge'
 using namespacge std;
       ^
0_0_22551763_28722.cpp:11:18: error: 'vector' does not name a type
 int N,M,A[maxn]; vector <int> tmp;
                  ^
0_0_22551763_28722.cpp: In function 'void dfs(Node*)':
0_0_22551763_28722.cpp:85:2: error: 'tmp' was not declared in this scope
  tmp.push_back(u->val);
  ^
0_0_22551763_28722.cpp: In function 'void rebuild()':
0_0_22551763_28722.cpp:90:2: error: 'tmp' was not declared in this scope
  tmp.clear(); cur = stop; root = NULL;
  ^
0_0_22551763_28722.cpp:91:14: error: unable to deduce 'auto&&' from 'tmp'
  for (auto v:tmp) root = old_merge(root,newnode(v));
              ^


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-11-25 20:39:51, Gzip enabled