摘要:
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 阅读全文
摘要:
import java.util.Scanner;class FindGold{ private static int m,n,k; private static boolean[][] visited; public static void main(String[] args) { Scanne 阅读全文
摘要:
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; 阅读全文
摘要:
id 阅读全文
摘要:
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 阅读全文
摘要:
package com.challenger;import com.challenger.Util;public class SelectSortDoWhile{ public static void main(String[] args) { //define array int[] arr={5 阅读全文
摘要:
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 阅读全文
摘要:
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}; 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文