Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
118554 胥博雯 13投资金额 C++ Accepted 1 MS 272 KB 368 2025-05-04 17:27:07

Tests(10/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int m; cin>>m; for(int i=1;i<=20;i++){ m=m*(1+0.2); } cout<<m; return 0; }