Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
71307 伍思语 13投资金额 C++ Compile Error 0 MS 0 KB 147 2024-04-21 20:37:25

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int m; cin>>m>>n; for(int i=0;i<=m;i++){ m=m+m*20%; } cout<<m; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:9: error: 'n' was not declared in this scope
 cin>>m>>n;
         ^
Main.cc:7:14: error: expected primary-expression before ';' token
     m=m+m*20%;
              ^