北大POJ 1005 一直编译错误!
北大POJ 1005 一直编译错误!
代码如下:(在本机VS2010运行正常,交上去就编译错误:
Memory:N/A Time:N/A
Language:C++ Result:Compile Error
)
#include
using namespace std;
int main()
{
double PI=3.14159265;
int n;
cin>>n;
for(int i=1;i>a>>b;
double total=PI*(a*a+b*b)/2;
int year=0;
while(total > 0)
{
total-=50;
++year;
}
cout