Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
102378 陈皓轩 13投资金额 C++ Compile Error 0 MS 0 KB 398 2024-12-21 15:29:37

Tests(0/0):


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(){ floct s; int i; cin>>s; for(i=1;i<=20;i+=1) { m=m*1.2; } cout<<m; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:5: error: 'floct' was not declared in this scope
     floct s;
     ^
Main.cc:10:10: error: 's' was not declared in this scope
     cin>>s;
          ^
Main.cc:14:9: error: 'm' was not declared in this scope
         m=m*1.2;
         ^
Main.cc:19:11: error: 'm' was not declared in this scope
     cout<