摘要: int[] arry_new = { 3, 5, 9, 8, 10, 5, 3 }; HashSet<int> set = new HashSet<int>(); foreach (int i in arry_new) { set.Add(i); } int[] at = set.ToArray() 阅读全文
posted @ 2019-05-27 14:54 有意思7 阅读(808) 评论(0) 推荐(0) 编辑
摘要: 1 static void Main(string[] args) 2 { 3 int a = Convert.ToInt32(Console.ReadLine()); 4 5 //求第n位数字是多少 6 Console.WriteLine(F1(a)); 7 8 ... 阅读全文
posted @ 2019-05-27 09:29 有意思7 阅读(1699) 评论(0) 推荐(0) 编辑