/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:33:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(num=n-1)break;
      ~~~^~~~
foo.cc:42:40: warning: format '%lf' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
  printf("Need %.2lf miles of cable",ans);
                                        ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 50ms 1.082 MiB
#2 Wrong Answer Standard answer longer than user output. 23ms 748.0 KiB
#3 Wrong Answer Standard answer longer than user output. 105ms 1.859 MiB
#4 Wrong Answer Standard answer longer than user output. 76ms 1.488 MiB
#5 Wrong Answer Standard answer longer than user output. 110ms 2.289 MiB
#6 Wrong Answer Standard answer longer than user output. 113ms 2.328 MiB
#7 Wrong Answer Standard answer longer than user output. 106ms 2.289 MiB
#8 Wrong Answer Standard answer longer than user output. 102ms 1.973 MiB
#9 Accepted 96ms 1.918 MiB
#10 Accepted 2ms 416.0 KiB

信息

递交者
类型
递交
题目
P1045 Kerry 的电缆网络
语言
C++
递交时间
2021-08-07 14:43:26
评测时间
2021-08-07 14:43:26
评测机
分数
20
总耗时
788ms
峰值内存
2.328 MiB