Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
4369 柯宇希 13投资金额 C++ Compile Error 0 MS 0 KB 176 2024-08-16 16:23:11

Tests(0/0):


Code:

# include<iostream> using namespace std; int main(){ int m; cin>>y>>m; for(int i=1;i<=21;i++){ m=m*1.2*i; } cout<<m<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:10: error: 'y' was not declared in this scope
     cin>>y>>m;
          ^