张德鹏 • 1年前
# include<iostream> using namespace std; int main(){ float a=0; cin>>a; for(int i=1;i<=20;i++){ a+=0.2*a; } cout<<a<<endl; return 0; }
评论: