![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
ZhangjunZhao
这个作者很懒,什么都没留下…
展开
-
spell checker
import java.util.*;import java.io.BufferedInputStream;import java.io.BufferedReader;import java.io.FileNotFoundException;import java.io.FileReader;public class Main{ // Return a scanner for the given file with the given name. private static原创 2020-12-03 13:13:40 · 174 阅读 · 0 评论 -
event simulation
/*For this lab you will be building the start of a very basic event simulation. Your program will read in lines of the formevent id periodfor all of the events that your system is to track. The id of an event is a unique non-negative integer for identif原创 2020-11-11 01:03:36 · 160 阅读 · 1 评论 -
node.java
import java.util.Arrays;// Note you can edit, add, or remove the comments if you wish, They are// just there to help you get started.//// We will use the following Node class to build a simple bare (not wrapped in// a list class) linked list implement原创 2020-10-29 13:19:51 · 122 阅读 · 0 评论 -
图论 找化合物
public class Main {/******* problem 01*/private static void problem01(){Scanner input = new Scanner(System.in);String caseStr = input.nextLine();int caseNum = Integer.parseInt(caseStr);input.n...原创 2020-05-17 22:38:35 · 121 阅读 · 0 评论 -
maze
/*For this one, it is easily to know, it need use the dijkstra way to do that, So we needto do two things, the first it is turn the data to the AM, and use AM data to do thedijkstra way.And in dijk...原创 2020-05-04 17:04:34 · 180 阅读 · 0 评论 -
迷宫问题
/*没细想dij好做,但是学的很渣就是非常暴力搜索甚至没有加剪枝复杂度很高每个方向都探查遍走过的进入一个数组最后在进行比较Astar也可以但是还没学自己也没搞明白*/import java.io.FileInputStream;import java.io.FileNotFoundException;import java.util.Scanner;public cl...原创 2020-05-04 06:24:28 · 117 阅读 · 0 评论 -
经历所有的点在返回求最短路(深度搜索剪枝 )
import java.util.Scanner;public class Problem3 {public static int currentMinLength = -1;public static int currentLength = 0;public static void main(String[] args) { Scanner scanner = new Scan...原创 2020-04-23 03:49:22 · 220 阅读 · 0 评论 -
点鼠标出小球
import java.awt.Color;import java.awt.Graphics;import java.awt.event.ActionEvent;import java.awt.event.ActionListener;import java.awt.event.MouseAdapter;import java.awt.event.MouseEvent;import j...原创 2020-04-12 11:55:31 · 220 阅读 · 0 评论