摘要: import pdb #pdb.set_trace() ad={} al=[] #a="64:2,128:1,32:4,1:128" list1=input().split(',') #list1=[] for i in list1: #ad.append(dict(i.split(':'))) t 阅读全文
posted @ 2024-10-31 07:55 MikeLi 阅读(3) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner;class FindGold{ private static int m,n,k; private static boolean[][] visited; public static void main(String[] args) { Scanne 阅读全文
posted @ 2024-04-19 16:53 MikeLi 阅读(10) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner;import java.lang.Math;import java.util.Arrays;public class HJ009{ public static void main(String[] args) { int aim,digit,pot; 阅读全文
posted @ 2024-04-05 23:33 MikeLi 阅读(85) 评论(0) 推荐(0) 编辑
摘要: id 阅读全文
posted @ 2023-01-05 08:06 MikeLi 阅读(6) 评论(0) 推荐(0) 编辑
摘要: package com.challenger; import com.challenger.Util; public class InsertSort { public static void main(String[] args) { int i,j,exNum,k; int[] arr={6,3 阅读全文
posted @ 2022-11-20 11:15 MikeLi 阅读(29) 评论(0) 推荐(0) 编辑
摘要: package com.challenger;import com.challenger.Util;public class SelectSortDoWhile{ public static void main(String[] args) { //define array int[] arr={5 阅读全文
posted @ 2022-11-18 00:56 MikeLi 阅读(17) 评论(0) 推荐(0) 编辑
摘要: public class SelectSortWhile{ public static void main(String[] args) { //define array int[] arr={5,8,2,3,7,4,10,6,9,1}; //define i as array loop index 阅读全文
posted @ 2022-11-18 00:53 MikeLi 阅读(20) 评论(0) 推荐(0) 编辑
摘要: package com.challenger;import com.challenger.Util;public class SelectSort{ public static void main(String[] args) { int[] arr={5,8,6,3,1,4,10,9,2,7}; 阅读全文
posted @ 2022-11-16 07:24 MikeLi 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 1.package must correspond to file path package is com.challenger path must be com/challenger/ 2.javac use -d to output classes into file path automati 阅读全文
posted @ 2022-11-16 00:10 MikeLi 阅读(18) 评论(0) 推荐(0) 编辑
摘要: String is fixed ,so object when created ,it cannot be modified any more. it's ineffective. in-effulent; when you use "+" to combine two String, via an 阅读全文
posted @ 2022-11-15 23:53 MikeLi 阅读(11) 评论(0) 推荐(0) 编辑