foo.c: In function 'main':
foo.c:12:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
12 | for(i=0;i<n2;i++)
| ^~~
foo.c:14:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
14 | FSM(a,n1,b,n2);
| ^~~
foo.c:14:3: warning: implicit declaration of function 'FSM' [-Wimplicit-function-declaration]
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
6 | scanf("%d",&n1);
| ^~~~~~~~~~~~~~~
foo.c:7:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
7 | scanf("%d",&n2);
| ^~~~~~~~~~~~~~~
foo.c:11:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
11 | scanf("%d",&a[i]);
| ^~~~~~~~~~~~~~~~~
foo.c:13:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
13 | scanf("%d",&b[i]);
| ^~~~~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccWWnBIe.o: in function `main':
foo.c:(.text.startup+0xe9): undefined reference to `FSM'
collect2: error: ld returned 1 exit status
[Hydro](https://hydro.ac)提供评测服务