0_0_13819853_32188.cpp:15:1: error: expected initializer before 'node'
node tt[maxn];
^
0_0_13819853_32188.cpp: In function 'int main()':
0_0_13819853_32188.cpp:22:10: error: 'a' was not declared in this scope
cin>>a[i];
^
0_0_13819853_32188.cpp:26:11: error: 'a' was not declared in this scope
while(a[l[i]-1]>=a[i])
^
0_0_13819853_32188.cpp:29:11: error: 'a' was not declared in this scope
while(a[r[i]-1]>=r[i])
^
0_0_13819853_32188.cpp:33:5: error: 'tt' was not declared in this scope
tt[i].len=r[i]-l[i]+1;
^
0_0_13819853_32188.cpp:34:15: error: 'a' was not declared in this scope
tt[i].num=a[i];
^
0_0_13819853_32188.cpp:36:9: error: 'tt' was not declared in this scope
sort(tt,tt+n,cmp);
^
|