0_0_30300439_370.cpp:25:1: error: 'pow' does not name a type
pow pow[10001];
^
0_0_30300439_370.cpp: In function 'int main()':
0_0_30300439_370.cpp:93:14: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
cin>>pow[t].value;
^
0_0_30300439_370.cpp:94:9: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
pow[t].flag=1;
^
0_0_30300439_370.cpp:95:9: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
pow[t].i=i;
^
0_0_30300439_370.cpp:97:14: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
cin>>pow[t].value;
^
0_0_30300439_370.cpp:98:9: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
pow[t].flag=0;
^
0_0_30300439_370.cpp:99:9: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
pow[t].i=i;
^
0_0_30300439_370.cpp:102:18: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator+'
sort(pow,pow+2*n,cmp);
^
0_0_30300439_370.cpp:104:17: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
if(pow[0].flag)
^
0_0_30300439_370.cpp:105:21: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
number[pow[0].i].l=c1;
^
0_0_30300439_370.cpp:107:21: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
number[pow[0].i].r=c1;
^
0_0_30300439_370.cpp:110:12: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
if(pow[i].value>pow[i-1].value)
^
0_0_30300439_370.cpp:110:27: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
if(pow[i].value>pow[i-1].value)
^
0_0_30300439_370.cpp:112:21: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
if(pow[i].flag)
^
0_0_30300439_370.cpp:113:16: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
number[pow[i].i].l=c1;
^
0_0_30300439_370.cpp:115:25: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
number[pow[i].i].r=c1;
^
|