foo.c: In function 'Unique':
foo.c:29:6: warning: unused variable 'cnt' [-Wunused-variable]
int cnt = 0;
^~~
foo.c: In function 'main':
foo.c:8:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n1,&n2);
^~~~~~~~~~~~~~~~~~~~~~
foo.c:11:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^~~~~~~~~~~~~~
foo.c:16:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务