02 2012 档案
摘要:public class Rectangle { public int x1; public int y1; public int x2; public int y2; public Rectangle(int x1, int y1, int x2, int y2) { this.x1 = x1; this.y1 = y1; this.x2 = ...
阅读全文
摘要:static int Sqrt1(int num) { if (num < 0) { throw new Exception(num + " doesn't have square root."); } if (num == 1) { return num; } int low = 0; int high = num; ...
阅读全文
摘要:static int[] MergeTwoArray(int[] intArr1, int[] intArr2) { if (intArr1 == null || intArr2 == null || intArr1.Length == 0 || intArr2.Length == 0) { throw new Exception("Input cann't be null."); } for (int i = 0; i < intArr1.Len...
阅读全文

浙公网安备 33010602011771号