0_0_19326476_3435.cpp: In function 'int main()':
0_0_19326476_3435.cpp:7:5: error: expected ',' or ';' before 'int'
int t=0,tt[500]={0},max=0;
^
0_0_19326476_3435.cpp:7:24: error: expected primary-expression before ',' token
int t=0,tt[500]={0},max=0;
^
0_0_19326476_3435.cpp:7:28: error: overloaded function with no contextual type information
int t=0,tt[500]={0},max=0;
^
0_0_19326476_3435.cpp:8:23: error: 'tt' was not declared in this scope
while(scanf("%d",&tt[++t])==1)
^
0_0_19326476_3435.cpp:8:28: error: 't' was not declared in this scope
while(scanf("%d",&tt[++t])==1)
^
0_0_19326476_3435.cpp:13:5: error: 't' was not declared in this scope
t--;
^
0_0_19326476_3435.cpp:16:20: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<='
for(int i=2;i<=max;i++)
^
0_0_19326476_3435.cpp:23:17: error: 'tt' was not declared in this scope
cout<<n[tt[i]]<<endl;
^
|