- 博客(7)
- 收藏
- 关注
原创 CCF 线性分类器 java 202006-1
CCF 202006-1 import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); int n = input.nextInt(); int m = input.nextInt(); Pointer[] a = new Pointer[n]; Pointer[] b = new Poin
2020-12-04 11:01:26
302
1
原创 ccf 风险人群筛选java2020-12-2
不知道为什么,第一题才90而第二题确有100. import java.util.Scanner; public class Main { public static void main(String[] args) { Space.test(); } } class Space { public static void test() { Scanner sc = new Scanner(System.in); int pass = 0, stop = 0, n, k, t; .
2020-11-19 23:45:01
340
3
原创 2020-11-16
public class TestDemo02 { public static void main(String[] args) { CargoBoat ship = new CargoBoat(); ship.setMaxContent(1000); int m = 600; try { ship.loading(m); m = 400; ship.loading
2020-11-16 22:39:40
140
原创 4级分析
四级 1、时间分配 阅读先做仔细阅读,再做长篇,翻译,最后选词。 2、四六级作文常见题型 图画图表 谚语警句 书信 论说文 一、常见土单词排行榜 think cling to the perspective that maintain assume many immense amounts of numerous innumerabale people we us private individuals experts and professors youngsyers on camp
2020-11-16 06:48:34
1623
原创 文件IO操作
java java创建文件夹和文件 字符类操作文件 简单的在文件中读取文字(包括中文)。 import java.io.*; public class TestDemo02 { public static void main(String[] args) throws IOException {//这里需要抛出异常 System.out.println("TestDemo02.main"); char[] c = new char[100]; //创建一个字符数组,
2020-11-14 17:17:16
163
原创 java初级
删除文件的递归操作 public void deleteDir(String dirPath) //传入要删除文件或文件夹的路径 { File file = new File(dirPath); if(file.isFile()) //判断是否为文件 { file.delete(); //删除此文件 }else { File[] files = file.listF
2020-11-13 13:02:55
118
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人