This is not valid C code:
int main()
int.const M=10;
int M[N][N4];
int i,j,a,k,m,n;
{
It must be something like
#define N some_int_here
#define N4 (4 * (N))) /* Or some other int */
int main()
{
int M[N][N4];
int i,j,a,k,m,n;
Errors 24 are sourced by invalid characters
while (((M[i][j])<0) ²² ((M[i][j])>999));
It should be probably a boolean operation like
&&
or
||
.
A tip:
The numbers from the error messages indicate the line number. So most of the errors are easy to spot.