| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 147072 | 赖泓宇 | 04保留两位小数 | C++ | Compile Error | 0 MS | 0 KB | 346 | 2026-02-02 16:57:36 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<iomanip> #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ double a,b; cin>>a>>b; printf("%.7lf %.2lf",pi,pi1); }
Main.cc: In function 'int main()':
Main.cc:10:25: error: 'pi' was not declared in this scope
printf("%.7lf %.2lf",pi,pi1);
^
Main.cc:10:28: error: 'pi1' was not declared in this scope
printf("%.7lf %.2lf",pi,pi1);
^