foo.c:9:1: error: unknown type name 'JieGuo'; did you mean 'JieGou'?
9 | JieGuo guanXi[5][5] = {
| ^~~~~~
| JieGou
foo.c:9:23: warning: missing braces around initializer [-Wmissing-braces]
9 | JieGuo guanXi[5][5] = {
| ^
10 | PING,SHU,YIN,YIN,SHU,
| { }
11 | YIN,PING,SHU,YIN,SHU,
| { }
12 | SHU,YIN,PING,SHU,YIN,
| { }
13 | SHU,SHU,YIN,PING,YIN,
| { }
14 | YIN,YIN,SHU,SHU,PING
| {
15 | };
| }
foo.c: In function 'main':
foo.c:27:25: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'enum shouShi *' [-Wformat=]
27 | scanf("%d",&A[i]);
| ~^ ~~~~~
| | |
| | enum shouShi *
| int *
foo.c:31:25: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'enum shouShi *' [-Wformat=]
31 | scanf("%d",&B[i]);
| ~^ ~~~~~
| | |
| | enum shouShi *
| int *
[Hydro](https://hydro.ac)提供评测服务