摘要: public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); // 商品数 // 背包大小 int n = sc.nextInt(), m = sc.nextInt( 阅读全文
posted @ 2020-09-02 16:23 Sexyomaru 阅读(166) 评论(0) 推荐(0) 编辑
摘要: class Solution { int[] p; int[] s; public int largestIsland(int[][] grid) { if(grid.length == 0) return 0; int n = grid.length, m = grid[0].length; p 阅读全文
posted @ 2020-09-02 11:03 Sexyomaru 阅读(131) 评论(0) 推荐(0) 编辑