/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:31:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   if(num=n-1)break;
      ~~~^~~~
foo.cc:40: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. 48ms 1.914 MiB
#2 Wrong Answer Standard answer longer than user output. 22ms 1000.0 KiB
#3 Wrong Answer Standard answer longer than user output. 94ms 2.914 MiB
#4 Wrong Answer Standard answer longer than user output. 69ms 2.531 MiB
#5 Wrong Answer Standard answer longer than user output. 107ms 3.305 MiB
#6 Wrong Answer Standard answer longer than user output. 107ms 3.32 MiB
#7 Wrong Answer Standard answer longer than user output. 105ms 3.289 MiB
#8 Wrong Answer Standard answer longer than user output. 103ms 3.016 MiB
#9 Accepted 103ms 2.898 MiB
#10 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1045 Kerry 的电缆网络
语言
C++
递交时间
2021-08-07 15:06:02
评测时间
2021-08-07 15:06:02
评测机
分数
20
总耗时
764ms
峰值内存
3.32 MiB