0_0_16557578_22132.cpp: In function 'int cmp(const void*, const void*)':
0_0_16557578_22132.cpp:9:2: error: 'nbsp' was not declared in this scope
return *(int *)a - *(int *)b;
^
0_0_16557578_22132.cpp: In function 'int findx(int)':
0_0_16557578_22132.cpp:13:2: error: 'nbsp' was not declared in this scope
int left,right,mid;
^
0_0_16557578_22132.cpp:20:49: error: 'else' without a previous 'if'
else if(X[mid] > ans) right=mid-1;
^
0_0_16557578_22132.cpp:21:49: error: 'else' without a previous 'if'
else left=mid+1;
^
0_0_16557578_22132.cpp: In function 'int findy(int)':
0_0_16557578_22132.cpp:26:2: error: 'nbsp' was not declared in this scope
int left,right,mid;
^
0_0_16557578_22132.cpp:33:49: error: 'else' without a previous 'if'
else if(Y[mid]>ans) right=mid-1;
^
0_0_16557578_22132.cpp:34:49: error: 'else' without a previous 'if'
else left=mid+1;
^
0_0_16557578_22132.cpp: In function 'int main()':
0_0_16557578_22132.cpp:39:2: error: 'nbsp' was not declared in this scope
int i,j,stx,sty,edx,edy,H,W,num,ncase=0,count,k;
^
0_0_16557578_22132.cpp:43:66: error: break statement not within loop or switch
if(H==0 && W==0) break;
^
0_0_16557578_22132.cpp:102:73: error: 'else' without a previous 'if'
else printf("There are %d colors left on the wall.\n",count);
^
|