优先队列
ZhangjunZhao
这个作者很懒,什么都没留下…
展开
-
what is this
import java.util.*; public class Main { public static void main(String[] args) { Scanner scnr = new Scanner(System.in); Queue<Integer> queue = new LinkedList<>(); Stack<Integer> stack = new Stack<>(); PriorityQueue<In原创 2020-11-12 13:54:39 · 115 阅读 · 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 form event id period for 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 · 174 阅读 · 1 评论