icpc2010专题

ACM/ICPC2010 杭州赛区 1008

题目很好理解,怎么解决超时的问题? import java.util.*;public class Main {public static void main(String[] args) {Scanner sc = new Scanner(System.in);int n, r;int[][] img;int[][] subImg;while(sc.hasNextInt()) {