摘要: 大水题呀 public static void acm1005(int n, float[,] a) { float pi = 3.1415926f, rr; int years; for (int i =... 阅读全文
posted @ 2015-03-13 16:44 BoVoM 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 水题。。public static void acm1004(float[] a){float sum = 0;foreach (var item in a){sum += item;}Console.WriteLine("$"+sum/a.Count());} 阅读全文
posted @ 2015-03-13 16:09 BoVoM 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 这题很有内涵,先用简单方法 public static void acm1003(double a) { if (a==0) { return; } double b ... 阅读全文
posted @ 2015-03-13 15:50 BoVoM 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 排序 public static void acm1002(string[] azx) { string[] a = new string[azx.Length]; for (int i = 0; i dic = new Di... 阅读全文
posted @ 2015-03-13 15:23 BoVoM 阅读(159) 评论(0) 推荐(0) 编辑