Run id: 10
Main.cc: In function 'bool check(int*, int*)':
Main.cc:12:16: error: 'ture' was not declared in this scope
return ture;
^
Main.cc: In function 'int main()':
Main.cc:21:25: error: expected primary-expression before ',' token
memcpy(last,a,sizeof,a);//将a数组复制到last数组中。
^
Main.cc:23:10: error: 'p2' was not declared in this scope
sort(p2+i;p2+i+k);
^
Main.cc:23:13: error: 'i' was not declared in this scope
sort(p2+i;p2+i+k);
^
Main.cc:23:21: error: expected ';' before ')' token
sort(p2+i;p2+i+k);
^
Main.cc:25:26: error: expected primary-expression before ',' token
memcpy(b,a,sizeof,b);
^
Main.cc:30:29: error: expected primary-expression before ',' token
memcpy(last,b,sizeof,b);
^
Main.cc: In function 'bool check(int*, int*)':
Main.cc:14:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^