HDU 1065 - I Think I Need a Houseboat

又是恶心人的水题

圆周率取3.1415926就啥事没有..

 #include <iostream>
#include <cstdio>
#include <cmath>
using namespace std;
double a,b;
int n;
int main()
{
scanf("%d",&n);
for(int k=;k<=n;k++)
{
for(int i=;i<=n;i++)
{
scanf("%lf%lf",&a,&b);
int ans=(a*a+b*b)*(3.1415926)/;
printf("Property %d: This property will begin eroding in year %d.\n",k++,ans+);
}
puts("END OF OUTPUT.");
}
}
上一篇:初始FreeMake


下一篇:RDLC使用手册_RDLC报表部署