Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
132292 左锶焜 13投资金额 C++ Compile Error 0 MS 0 KB 336 2025-10-07 19:26:17

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:10:9: error: 'i' was not declared in this scope
     for(i=1;i<=20;i++){
         ^
Main.cc:13:1: error: expected '}' at end of input
 }
 ^