foo.c: In function 'main':
foo.c:6:17: warning: unused variable 'p' [-Wunused-variable]
6 | int n1,n2,n3,i,p,a1[10001],a2[10001],a3[10001],a[10001];
| ^
foo.c: In function 'Unique':
foo.c:46:6: warning: unused variable 'cnt' [-Wunused-variable]
46 | int cnt=0;
| ^~~
foo.c: In function 'main':
foo.c:7:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
7 | scanf("%d%d%d",&n1,&n2,&n3);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:9:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
9 | scanf("%d",&a1[i]);
| ^~~~~~~~~~~~~~~~~~
foo.c:11:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
11 | scanf("%d",&a2[i]);
| ^~~~~~~~~~~~~~~~~~
foo.c:13:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
13 | scanf("%d",&a3[i]);
| ^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务