Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
102382 | 陈皓轩 | 13投资金额 | C++ | Compile Error | 0 MS | 0 KB | 398 | 2024-12-21 15:30:20 |
#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(){ floct m; int i; cin>>m; for(i=1;i<=20;i+=1) { m=m*1.2; } cout<<m; return 0; }
Main.cc: In function 'int main()': Main.cc:8:5: error: 'floct' was not declared in this scope floct m; ^ Main.cc:10:10: error: 'm' was not declared in this scope cin>>m; ^