标签:
大水题呀
public static void acm1005(int n, float[,] a) { float pi = 3.1415926f, rr; int years; for (int i = 0; i < n; i++) { rr = a[i,0] * a[i,0] + a[i,1] * a[i,1]; int area =(int)(pi * rr); years = Convert.ToInt32(area / 100+1); Console.WriteLine(years); } Console.WriteLine("END OF OUTPUT."); }
标签:
原文地址:http://www.cnblogs.com/DhyDream/p/4335510.html