foo.c: In function 'main':
foo.c:7:9: error: unknown type name 'lomg'; did you mean 'long'?
7 | lomg x,y,m[100];
| ^~~~
| long
foo.c:11:34: error: expected ')' before ';' token
11 | scanf("%ld",&m[k];
| ~ ^
| )
foo.c:11:26: warning: format '%ld' expects argument of type 'long int *', but argument 2 has type 'int *' [-Wformat=]
11 | scanf("%ld",&m[k];
| ~~^ ~~~~~
| | |
| | int *
| long int *
| %d
foo.c:11:35: error: expected ';' before '}' token
11 | scanf("%ld",&m[k];
| ^
| ;
12 | }
| ~
foo.c:18:19: error: 'gcd\U0000ff08x' undeclared (first use in this function)
18 | x=gcd(x,y);
| ^~~~~~
foo.c:18:19: note: each undeclared identifier is reported only once for each function it appears in
foo.c:18:25: warning: left-hand operand of comma expression has no effect [-Wunused-value]
18 | x=gcd(x,y);
| ^
foo.c:18:17: warning: statement with no effect [-Wunused-value]
18 | x=gcd(x,y);
| ^
foo.c:18:27: error: expected ';' before ')' token
18 | x=gcd(x,y);
| ^
| ;
foo.c:18:27: error: expected statement before ')' token
[Hydro](https://hydro.ac)提供评测服务