摘要: 洛谷 p1387最大正方形 题目描述 在一个n*m的只包含0和1的矩阵里找出一个不包含0的最大正方形,输出边长。 输入格式 输入文件第一行为两个整数n,m(1<=n,m<=100),接下来n行,每行m个数字,用空格隔开,0或1. 输出格式 一个整数,最大正方形的边长 输入输出样例 输入 #1 4 4 阅读全文
posted @ 2019-08-12 19:00 whocarethat 阅读(109) 评论(0) 推荐(0) 编辑
摘要: codeforces #578(Div.2) A. Hotelier Amugae has a hotel consisting of 1010 rooms. The rooms are numbered from 00 to 99 from left to right. The hotel has 阅读全文
posted @ 2019-08-12 15:12 whocarethat 阅读(204) 评论(0) 推荐(0) 编辑