I Think I Need a Houseboat
http://acm.zju.edu.cn/show_problem.php?pid=1049
1 #include <stdio.h>
2 #include <math.h>
3 int main() {
4 int t, i;
5 scanf("%d", &t);
6 for(i = 1; i <= t; i++) {
7 double x, y;
8 scanf("%lf%lf", &x, &y);
9 double square_radius = x*x + y*y;
10 double area = 3.141592653589793 * square_radius * 0.5;
11 printf("Property %d: This property will begin eroding in year %.0f.\n", i, floor(area / 50.0) + 1);
12 }
13 printf("END OF OUTPUT.\n");
14 }