摘要: 497. 非重叠矩形中的随机点 import java.util.ArrayList; import java.util.Random; class Solution { public ArrayList<Integer> arr; public int[][] rects; public Random random; publi 阅读全文
posted @ 2022-06-09 11:59 求索萌新 阅读(16) 评论(0) 推荐(0)
摘要: 1037. 有效的回旋镖 class Solution { public boolean isBoomerang(int[][] points) { int[] v1 = {points[1][0] - points[0][0], points[1][1] - points[0][1]}; int[] v2 = {point 阅读全文
posted @ 2022-06-08 21:41 求索萌新 阅读(26) 评论(0) 推荐(0)
摘要: 875. 爱吃香蕉的珂珂 /** @author: 施龙青 @description 875. 爱吃香蕉的珂珂 @date: 2022/6/7 1:24 */ public class Main001 { //测试 public static void main(String[] args) { Main001 main00 阅读全文
posted @ 2022-06-07 12:42 求索萌新 阅读(18) 评论(0) 推荐(0)