0_0_13576624_6595.cpp:6:1: error: expected ']' before 'int'
int z=0;
^
0_0_13576624_6595.cpp: In function 'void input()':
0_0_13576624_6595.cpp:11:2: error: expected ']' before 'cin'
cin>>i;
^
0_0_13576624_6595.cpp:21:7: error: 'a' was not declared in this scope
a[b]=e;
^
0_0_13576624_6595.cpp:25:12: error: 'a' was not declared in this scope
int max=a[0];
^
0_0_13576624_6595.cpp:32:14: error: 'z' was not declared in this scope
head[z]=k+1;
^
0_0_13576624_6595.cpp:33:9: error: 'tail' was not declared in this scope
tail[z]=g+1;
^
0_0_13576624_6595.cpp:39:13: error: 'z' was not declared in this scope
z++;
^
0_0_13576624_6595.cpp: In function 'void output()':
0_0_13576624_6595.cpp:46:35: error: 'tail' was not declared in this scope
cout<<m[j]<<" "<<head[j]<<" "<<tail[j]<<endl;
^
|