0_0_17808726_8084.cpp:54:5: error: stray '\243' in program
add(1,y,1);
^
0_0_17808726_8084.cpp:54:5: error: stray '\273' in program
0_0_17808726_8084.cpp: In function 'int cal(int)':
0_0_17808726_8084.cpp:17:12: error: invalid use of non-lvalue array
sum+=a[t];
^
0_0_17808726_8084.cpp:17:12: error: in evaluation of 'operator+=(int, int [100002])'
0_0_17808726_8084.cpp: In function 'int main()':
0_0_17808726_8084.cpp:39:23: error: 'memset' was not declared in this scope
memset(a,0,sizeof(a));
^
0_0_17808726_8084.cpp:55:4: error: expected ';' before '}' token
}
^
0_0_17808726_8084.cpp:57:9: error: 'q' was not declared in this scope
while(q--)
^
0_0_17808726_8084.cpp:64:26: error: too many arguments to function 'int cal(int)'
if((cal(0,xma)-cal(0,xmi-1)==xma-xmi+1)||(cal(1,yma)-cal(1,ymi-1)==yma-ymi+1))
^
0_0_17808726_8084.cpp:12:5: note: declared here
int cal(int t)//计算1-t的和
^
0_0_17808726_8084.cpp:64:39: error: too many arguments to function 'int cal(int)'
if((cal(0,xma)-cal(0,xmi-1)==xma-xmi+1)||(cal(1,yma)-cal(1,ymi-1)==yma-ymi+1))
^
0_0_17808726_8084.cpp:12:5: note: declared here
int cal(int t)//计算1-t的和
^
0_0_17808726_8084.cpp:64:64: error: too many arguments to function 'int cal(int)'
if((cal(0,xma)-cal(0,xmi-1)==xma-xmi+1)||(cal(1,yma)-cal(1,ymi-1)==yma-ymi+1))
^
0_0_17808726_8084.cpp:12:5: note: declared here
int cal(int t)//计算1-t的和
^
0_0_17808726_8084.cpp:64:77: error: too many arguments to function 'int cal(int)'
if((cal(0,xma)-cal(0,xmi-1)==xma-xmi+1)||(cal(1,yma)-cal(1,ymi-1)==yma-ymi+1))
^
0_0_17808726_8084.cpp:12:5: note: declared here
int cal(int t)//计算1-t的和
^
|