foo.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int]
main()
^~~~
foo.c: In function 'main':
foo.c:23:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else]
if (dis1>0 && dis2>0)
^
foo.c:15:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&x1,&y1,&x2,&y2);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:16:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&num);
^~~~~~~~~~~~~~~~~
foo.c:18:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x[i],&y[i]);
^~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:35:5: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (j==1)
^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。