正在加载……
← 返回 google 的题目列表
Count Colorful Squares
类型:online_judge
Given a 2-D matrix where each element is an alphabet representing a color (same element = same color), output the number of squares formed by the same color. Example Input 3 abc aba aca