0_0_29812628_17122.cpp:4:9: error: '__int64' does not name a type
typedef __int64 LL ;
^
0_0_29812628_17122.cpp:8:9: error: 'LL' does not name a type
LL height ; //当前节点高度
^
0_0_29812628_17122.cpp:10:24: error: 'LL' has not been declared
Elem(int _id , LL _height):id(_id) , height(_height){}
^
0_0_29812628_17122.cpp: In constructor 'Elem::Elem(int, int)':
0_0_29812628_17122.cpp:10:46: error: class 'Elem' does not have any field named 'height'
Elem(int _id , LL _height):id(_id) , height(_height){}
^
0_0_29812628_17122.cpp: At global scope:
0_0_29812628_17122.cpp:33:1: error: 'LL' does not name a type
LL x[Max_N] ;
^
0_0_29812628_17122.cpp:36:1: error: 'LL' does not name a type
LL Ans(){
^
0_0_29812628_17122.cpp: In function 'int main()':
0_0_29812628_17122.cpp:56:12: error: 'cin' was not declared in this scope
while(cin>> N && N){
^
0_0_29812628_17122.cpp:58:31: error: 'x' was not declared in this scope
scanf("%I64d" ,&x[i]) ;
^
0_0_29812628_17122.cpp:58:35: error: 'scanf' was not declared in this scope
scanf("%I64d" ,&x[i]) ;
^
0_0_29812628_17122.cpp:59:11: error: 'x' was not declared in this scope
x[N] = -1 ;
^
0_0_29812628_17122.cpp:60:11: error: 'cout' was not declared in this scope
cout<<Ans()<<endl ;
^
0_0_29812628_17122.cpp:60:21: error: 'Ans' was not declared in this scope
cout<<Ans()<<endl ;
^
0_0_29812628_17122.cpp:60:24: error: 'endl' was not declared in this scope
cout<<Ans()<<endl ;
^
|