Compile Error

foo.cc: In function 'int main()':
foo.cc:7:8: error: 'Pi' does not name a type
    7 |  const Pi=3.14159;
      |        ^~
foo.cc:8:12: error: 'Pi' was not declared in this scope
    8 |  cout<<20/(Pi*r*r*h/1/1000);
      |            ^~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1000 大象喝水
语言
C++
递交时间
2021-12-17 21:43:08
评测时间
2021-12-17 21:43:08
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes