/ Vijos /

记录详情

Accepted

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]
   48 |     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]
   53 |         scanf("%d %d %d",&ni,&Ti,&ti);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:39:6: warning: 'minTime' may be used uninitialized in this function [-Wmaybe-uninitialized]
   39 |     T-=h*3600;
      |     ~^~~~~~~~
foo.cc:90:9: note: 'minTime' was declared here
   90 |     int minTime;
      |         ^~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 19ms 7.25 MiB
#2 Accepted 20ms 7.25 MiB
#3 Accepted 25ms 7.375 MiB
#4 Accepted 32ms 7.25 MiB
#5 Accepted 44ms 7.25 MiB
#6 Accepted 13ms 7.25 MiB
#7 Accepted 27ms 7.375 MiB
#8 Accepted 13ms 7.375 MiB
#9 Accepted 49ms 7.398 MiB
#10 Accepted 49ms 7.375 MiB

信息

递交者
类型
递交
题目
P1168 公路巡逻
语言
C++
递交时间
2022-04-11 18:06:56
评测时间
2022-04-11 18:06:56
评测机
分数
100
总耗时
295ms
峰值内存
7.398 MiB