/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:39:29: warning: narrowing conversion of 'y[i]' from 'int' to 'double' inside { } [-Wnarrowing]
    b[++cnt]=(bian){i,i-1,y[i]};
                          ~~~^
foo.cc:46:38: warning: narrowing conversion of 'yy[i]' from 'int' to 'double' inside { } [-Wnarrowing]
    b[++cnt]=(bian){i+bas,i+bas-1,yy[i]};
                                  ~~~~^
foo.cc:33:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d%d%d",&n,&m,&x,&xx);
  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:37:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&y[i]);
   ~~~~~^~~~~~~~~~~~
foo.cc:44:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&yy[i]);
   ~~~~~^~~~~~~~~~~~~
foo.cc:101:25: warning: 'to2' may be used uninitialized in this function [-Wmaybe-uninitialized]
   b[++cnt]=(bian){l1,to2+bas,m2};
                      ~~~^~~~
foo.cc:100:25: warning: 'to1' may be used uninitialized in this function [-Wmaybe-uninitialized]
   b[++cnt]=(bian){l1,to1+bas,m1};
                      ~~~^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 24.04, expect 23.28. 1ms 408.0 KiB
#2 Wrong Answer Read 3000090.86, expect 2000090.86. 1ms 408.0 KiB
#3 Wrong Answer Read 138779.15, expect 137942.24. 2ms 416.0 KiB
#4 Wrong Answer Read 1509793.57, expect 1506473.04. 2ms 408.0 KiB
#5 Wrong Answer Read 1405241.06, expect 1400718.34. 56ms 7.398 MiB
#6 Wrong Answer Read 8776277.68, expect 8750946.09. 69ms 8.68 MiB
#7 Wrong Answer Read 1388006.47, expect 1382847.64. 64ms 8.551 MiB
#8 Wrong Answer Read 113828077.71, expect 113449513.96. 478ms 50.191 MiB
#9 Wrong Answer Read 133214335.10, expect 132878748.29. 485ms 50.27 MiB
#10 Wrong Answer Read 128366746.56, expect 127938641.20. 462ms 50.223 MiB

信息

递交者
类型
递交
题目
P1466 电缆建设
语言
C++
递交时间
2021-11-14 16:09:08
评测时间
2021-11-14 16:09:08
评测机
分数
0
总耗时
1625ms
峰值内存
50.27 MiB