public static void main(String[] args) { Scanner ac = new Scanner(System.in); int N = ac.nextInt() / 10; if(N >= 3200){ return; } int m = ac.nextInt(); if(m >= 60){ return; } Goods[] goodsArr = new Goods[m+1]; goodsArr[0] = new Goods(0,0,0); ...