Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
102911 | 余彦铮 | 04圆的面积 | C++ | Compile Error | 0 MS | 0 KB | 332 | 2024-12-27 16:14:49 |
#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(){ float n; cin>>n; n=3.1415926*n*n; printf("%.2f",a/1); return 0; }
Main.cc: In function 'int main()': Main.cc:11:15: error: 'a' was not declared in this scope printf("%.2f",a/1); ^