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