0_0_14531246_42.cpp:15:1: error: expected ',' or ';' before 'int'
int a[maxten],d[maxten];
^
0_0_14531246_42.cpp: In function 'int main()':
0_0_14531246_42.cpp:23:31: error: 'a' was not declared in this scope
scanf("%d",&a[i]);
^
0_0_14531246_42.cpp:24:19: error: 'd' was not declared in this scope
d[i]=1;
^
0_0_14531246_42.cpp:28:28: error: 'a' was not declared in this scope
if(a[i] > a[j] && d[i] < d[j]+1)
^
0_0_14531246_42.cpp:28:45: error: 'd' was not declared in this scope
if(a[i] > a[j] && d[i] < d[j]+1)
^
0_0_14531246_42.cpp:32:27: error: 'd' was not declared in this scope
if(maxx<d[i])
^
|