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_22140346_19552.cpp:13:2: error: redeclaration of 'int& T::nbsp'
  int n;
  ^
0_0_22140346_19552.cpp:12:2: note: previous declaration 'int& T::nbsp'
  int dis[N],co[N];
  ^
0_0_22140346_19552.cpp:14:2: error: redeclaration of 'int& T::nbsp'
  int f,q,s,w;
  ^
0_0_22140346_19552.cpp:12:2: note: previous declaration 'int& T::nbsp'
  int dis[N],co[N];
  ^
0_0_22140346_19552.cpp:15:2: error: redeclaration of 'int& T::nbsp'
  int ru;
  ^
0_0_22140346_19552.cpp:12:2: note: previous declaration 'int& T::nbsp'
  int dis[N],co[N];
  ^
0_0_22140346_19552.cpp:17:9: error: use of deleted function 'T::T()'
 T tree[N];
         ^
0_0_22140346_19552.cpp:10:7: note: 'T::T()' is implicitly deleted because the default definition would be ill-formed:
 class T{
       ^
0_0_22140346_19552.cpp:10:7: error: uninitialized reference member in 'class T'
0_0_22140346_19552.cpp:12:2: note: 'int& T::nbsp' should be initialized
  int dis[N],co[N];
  ^
0_0_22140346_19552.cpp: In function 'void init(int, int&)':
0_0_22140346_19552.cpp:20:2: error: 'nbsp' was not declared in this scope
  int f,q,s,w,i;
  ^
0_0_22140346_19552.cpp:31:13: error: 'else' without a previous 'if'
   else
             ^
0_0_22140346_19552.cpp: In function 'int dp(int, int)':
0_0_22140346_19552.cpp:37:2: error: 'nbsp' was not declared in this scope
  int i,j,k,tmp[N],ans,mm,cur,par,tmp_n;
  ^
0_0_22140346_19552.cpp: In function 'int main()':
0_0_22140346_19552.cpp:84:2: error: 'nbsp' was not declared in this scope
  int n,root,cs,t;
  ^


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-09-30 14:27:42, Gzip enabled