Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
109839 邹金行 03圆的面积 C++ Compile Error 0 MS 0 KB 249 2025-02-12 15:24:06

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int maina(){ int a=1,b=3,c=5,d=7,e=9; cout<<a*a*3.1415926<<endl; cout<<b*b*3.1415926<<endl; cout<<c*c*3.1415926<<endl; cout<<d*d*3.1415926<<endl; cout<<e*e*3.1415926<<endl; }


Run Info:

Main.cc: In function 'int maina()':
Main.cc:10:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status