为什么wa了一个??求帮助

P1426 小鱼会有危险吗

``` #include <bits/stdc++.h> using namespace std; int main(){ double s,x,a,b; cin>>s>>x; a=x*2; b=7; for(int i=1;i<=s;i++) { b=b*0.98; } if(b<a) { cout<<"y"; } else { cout<<"n"; } return 0; } ```
by Ethan_and_Cindy @ 2023-03-22 18:49:07


不用那么麻烦
by Ethan_and_Cindy @ 2023-03-22 18:49:47


|