#abc275c. [abc275_c]Counting Squares

[abc275_c]Counting Squares

题目描述

给定一个 9×99 \times 9 的矩阵。

矩阵中只包含 .# 两种字符。

请求出以 # 作为四个顶点构成的正方形的数量。