foo.cc: In function 'int main()':
foo.cc:45:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
~~~~~^~~~~~~~~~~~~~~
foo.cc:50:8: 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:37:3: warning: 'minTime' may be used uninitialized in this function [-Wmaybe-uninitialized]
T-=h*3600;
~^~~~~~~~
foo.cc:87:6: note: 'minTime' was declared here
int minTime;
^~~~~~~
[Hydro](https://hydro.ac)提供评测服务