0_0_37197039_24496.cpp:4:1: error: 'itn' does not name a type
itn data[maxn];
^
0_0_37197039_24496.cpp: In function 'int Partition(int, int)':
0_0_37197039_24496.cpp:15:10: error: 'data' was not declared in this scope
int temp=data[right];
^
0_0_37197039_24496.cpp: In function 'void quicksort(int, int)':
0_0_37197039_24496.cpp:28:27: error: 'partition' was not declared in this scope
int i=partition(left,right);
^
0_0_37197039_24496.cpp: In function 'int main()':
0_0_37197039_24496.cpp:37:34: error: 'data' was not declared in this scope
for(int i=1;i<=n;i++)scanf("%d",&data[i]);
^
0_0_37197039_24496.cpp:39:15: error: 'data' was not declared in this scope
printf("%d\n",data[(n+1)/2];
^
|