/ Vijos /

记录详情

Accepted

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)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 7ms 7.324 MiB
#2 Accepted 8ms 7.324 MiB
#3 Accepted 17ms 7.348 MiB
#4 Accepted 22ms 7.363 MiB
#5 Accepted 22ms 7.355 MiB
#6 Accepted 7ms 7.285 MiB
#7 Accepted 11ms 7.371 MiB
#8 Accepted 8ms 7.324 MiB
#9 Accepted 22ms 7.414 MiB
#10 Accepted 24ms 7.465 MiB

信息

递交者
类型
递交
题目
P1168 公路巡逻
语言
C++
递交时间
2021-08-12 21:21:51
评测时间
2021-08-12 21:22:16
评测机
分数
100
总耗时
152ms
峰值内存
7.465 MiB