foo.cc: In function 'int main()':
foo.cc:48:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
~~~~~^~~~~~~~~~~~~~~
foo.cc:53:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&ni,&Ti,&ti);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:39:6: warning: 'minTime' may be used uninitialized in this function [-Wmaybe-uninitialized]
T-=h*3600;
~^~~~~~~~
foo.cc:90:9: note: 'minTime' was declared here
int minTime;
^~~~~~~
[Hydro](https://hydro.ac)提供评测服务