摘要:
Problem Description现有 n 个从小到大排列的数组成的序列。需要对这个序列进行 c 次操作。每次操作有两种类型:操作 1:插入一个数 v 到序列中,并保持有序。 操作 2:输出当前的序列。 bLue 并不太擅长序列操作,所以他想来请求你的帮助,你能帮助他完成这个任... 阅读全文
摘要:
Math 类位于 java.lang 包中,包含用于执行基本数学运算的方法, Math 类的所有方法都是静态方法,所以使用该类中的方法时,可以直接使用类名.方法名,如: Math.round(); 常用的方法:通过案例我们来认识一下他们的使用吧!!运行结果:PS: Math 类还提... 阅读全文