上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 33 下一页
  2021年9月6日
摘要: 1 //要找的数 - 数组中的第一个元素 / 最大的数 - 第一个元素 2 //数组的查找(线性查找 二分法查找) 3 //线性查找: 4 //equals 5 6 String dest = "BB"; 7 boolean isFlag = true; 8 9 for(int i = 0; i < 阅读全文
posted @ 2021-09-06 10:26 Bytezero! 阅读(799) 评论(0) 推荐(0)
  2021年9月3日
摘要: 1 //数组的反转 2 //方式一 3 System.out.println("数组的反转"); 4 5 // for(int i = 0; i <arr.length/2;i++) 6 // { 7 // String temp = arr[i]; 8 // arr[i] = arr[arr.le 阅读全文
posted @ 2021-09-03 18:58 Bytezero! 阅读(450) 评论(0) 推荐(0)
摘要: 1 public static void main(String[] args) { 2 int[]array1,array2; 3 array1 = new int[] {6,3,5,8,9,5,17,5,58,56}; 4 5 for(int i =0; i<array1.length;i++) 阅读全文
posted @ 2021-09-03 18:57 Bytezero! 阅读(199) 评论(0) 推荐(0)
摘要: 1 /* 2 * 3 * 算法考查:求数值型数组中的最大元素 最小值 平均值 总和等 4 * 要求:随机数是 两位数 5 * [10,99] 6 * 公式:(int)(Math.random()*(99-10+1)+10) 7 * 8 */ 9 public static void main(Str 阅读全文
posted @ 2021-09-03 17:51 Bytezero! 阅读(94) 评论(0) 推荐(0)
摘要: 1 // 使用二维数组打印 10 行杨辉三角 2 public static void main(String[] args) 3 { 4 //1.声明 并初始化二维数组 5 int[][]yanghui = new int[10][]; 6 7 8 9 //2.给数组元素赋值 10 for(int 阅读全文
posted @ 2021-09-03 14:36 Bytezero! 阅读(237) 评论(0) 推荐(0)
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 using System.Windows; 阅读全文
posted @ 2021-09-03 10:31 Bytezero! 阅读(596) 评论(0) 推荐(0)
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 using System.Windows; 阅读全文
posted @ 2021-09-03 10:03 Bytezero! 阅读(487) 评论(0) 推荐(0)
摘要: 1 // DlgExec.cpp : 实现文件 2 // 3 4 #include "stdafx.h" 5 #include "Self.h" 6 #include "DlgExec.h" 7 #include "afxdialogex.h" 8 9 10 // CDlgExec 对话框 11 1 阅读全文
posted @ 2021-09-03 09:54 Bytezero! 阅读(158) 评论(0) 推荐(0)
摘要: 1 // DlgUser.cpp : 实现文件 2 // 3 4 #include "stdafx.h" 5 #include "Login.h" 6 #include "DlgUser.h" 7 #include "afxdialogex.h" 8 9 10 // CDlgUser 对话框 11 阅读全文
posted @ 2021-09-03 09:45 Bytezero! 阅读(537) 评论(0) 推荐(0)
摘要: 1 // ReadDlg.cpp : 实现文件 2 // 3 4 #include "stdafx.h" 5 #include "Read.h" 6 #include "ReadDlg.h" 7 #include "afxdialogex.h" 8 //#include "stream.h" 9 # 阅读全文
posted @ 2021-09-03 09:40 Bytezero! 阅读(240) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 33 下一页