Wrong Answer

foo.cc: In function 'int main()':
foo.cc:27:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   27 |         if(f=0)cout<<"success on day "<<d<<endl;
      |            ~^~
foo.cc:13:18: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
   13 |                 d++;
      |                 ~^~
foo.cc:14:24: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized]
   14 |                 h1+=v;v=v*0.9;
      |                       ~^~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read failure, expect success. 3ms 256.0 KiB
#2 Wrong Answer Read failure, expect success. 1ms 256.0 KiB
#3 Wrong Answer Read 355368569, expect 29. 1ms 256.0 KiB
#4 Wrong Answer Read 767828041, expect 29. 2ms 256.0 KiB
#5 Wrong Answer Read failure, expect success. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1763 蜗牛轶事
语言
C++
递交时间
2022-10-03 11:30:57
评测时间
2022-10-03 11:30:57
评测机
分数
0
总耗时
10ms
峰值内存
256.0 KiB