/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:36:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   36 |     scanf("%d %d",&n,&m);
      |     ~~~~~^~~~~~~~~~~~~~~
foo.cc:41:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   41 |         scanf("%d %d %d",&ni,&Ti,&ti);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:27:6: warning: 'minTime' may be used uninitialized in this function [-Wmaybe-uninitialized]
   27 |     T-=h*3600;
      |     ~^~~~~~~~
foo.cc:78:9: note: 'minTime' was declared here
   78 |     int minTime;
      |         ^~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 8ms 7.25 MiB
#2 Accepted 8ms 7.25 MiB
#3 Accepted 16ms 7.375 MiB
#4 Accepted 25ms 7.25 MiB
#5 Accepted 25ms 7.34 MiB
#6 Accepted 11ms 7.25 MiB
#7 Accepted 23ms 7.375 MiB
#8 Accepted 10ms 7.375 MiB
#9 Accepted 42ms 7.375 MiB
#10 Accepted 44ms 7.375 MiB

信息

递交者
类型
递交
题目
P1168 公路巡逻
语言
C++
递交时间
2021-12-12 10:18:29
评测时间
2021-12-12 10:18:29
评测机
分数
100
总耗时
216ms
峰值内存
7.375 MiB