/ 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]
     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;
         ^~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 8ms 7.285 MiB
#2 Accepted 8ms 7.262 MiB
#3 Accepted 21ms 7.328 MiB
#4 Accepted 31ms 7.367 MiB
#5 Accepted 31ms 7.363 MiB
#6 Accepted 8ms 7.301 MiB
#7 Accepted 14ms 7.363 MiB
#8 Accepted 9ms 7.379 MiB
#9 Accepted 29ms 7.402 MiB
#10 Accepted 31ms 7.465 MiB

信息

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