0_0_16691441_819.cpp: In function 'int cmp(const void*, const void*)':
0_0_16691441_819.cpp:7:2: error: 'nbsp' was not declared in this scope
return *(int *)b-*(int *)a;
^
0_0_16691441_819.cpp: In function 'int main()':
0_0_16691441_819.cpp:11:2: error: 'nbsp' was not declared in this scope
int n;
^
0_0_16691441_819.cpp:19:87: error: 'i' was not declared in this scope
scanf("%d",&a[i]);
^
0_0_16691441_819.cpp:22:75: error: 'qsort' was not declared in this scope
qsort(b,n,sizeof(b[0]),cmp);
^
0_0_16691441_819.cpp:27:102: error: 'i' was not declared in this scope
if(b[i]==fabs(a[j]))
^
0_0_16691441_819.cpp:27:113: error: 'j' was not declared in this scope
if(b[i]==fabs(a[j]))
^
0_0_16691441_819.cpp:29:123: error: 'i' was not declared in this scope
c[i]=a[j];
^
0_0_16691441_819.cpp:29:128: error: 'j' was not declared in this scope
c[i]=a[j];
^
0_0_16691441_819.cpp:35:82: error: 'i' was not declared in this scope
if(i==0)
^
0_0_16691441_819.cpp:36:111: error: 'i' was not declared in this scope
printf("%d",c[i]);
^
0_0_16691441_819.cpp:37:79: error: 'else' without a previous 'if'
else
^
|