摘要: 题目描述 有一个a*b的整数组成的矩阵,现请你从中找出一个n*n的正方形区域,使得该区域所有数中的最大值和最小值的差最小。 输入输出格式 输入格式: 第一行为3个整数,分别表示a,b,n的值 第二行至第a+1行每行为b个非负整数,表示矩阵中相应位置上的数。每行相邻两数之间用一空格分隔。 输出格式: 阅读全文
posted @ 2018-07-08 21:49 zZhBr 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 题目描述 In a far away kingdom lives a very greedy king. To defend his land, he built n n n guard towers. Apart from the towers the kingdom has two armies 阅读全文
posted @ 2018-07-08 10:49 zZhBr 阅读(277) 评论(0) 推荐(0) 编辑