代码如下,编译器报错:
#include<iostream> using namespace std; int main(){ int h,r,a; cin>>h>>r; a = 20000 - (3.14 * r * r * h) + 1; cout<<a; return 0; }