Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
120419 刘珩宇 22兔子问题 C++ Compile Error 0 MS 0 KB 369 2025-05-25 18:15:31

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,s=0,x,y,i; cin>>m; int a[m]; for(i=0;i<m;i++){ s+=a[i]; } x=s*4; y=s*2; cout<<x<<" "<<y return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:16:1: error: expected ';' before 'return'
 return 0;
 ^