/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'void work()':
foo.cc:103:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  103 |  scanf("%d%lf%d%d",&n,&wf,&s,&t);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:107:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  107 |    scanf("%lf%lf",&x[(i-1)*4+j],&y[(i-1)*4+j]);
      |    ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:108:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  108 |   scanf("%lf",&wt[(i-1)*4+1]);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:124:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  124 |  scanf("%d",&tz);
      |  ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0.0, expect 0.00. 4ms 1.75 MiB
#2 Wrong Answer Read 0.00.00.0, expect 214.14. 20ms 4.242 MiB
#3 Wrong Answer Read 110.0110.00.0, expect 310.00. 9ms 4.285 MiB
#4 Time Exceeded ≥1100ms ≥5.242 MiB
#5 Time Exceeded ≥1098ms ≥4.492 MiB

信息

递交者
类型
递交
题目
P1119 Car的旅行路线
语言
C++
递交时间
2022-05-09 13:43:08
评测时间
2022-05-09 13:43:08
评测机
分数
0
总耗时
≥2233ms
峰值内存
≥5.242 MiB