Xanh đẹp


Submit solution

Points: 1
Time limit: 1.0s
Memory limit: 1G

Problem type

Dữ liệu

  • Hai số nguyên $a,b$ $(1\le a, b \le 10^9)$.

Kết quả

  • Kết quả bài toán.

Ví dụ

Ví dụ 1

input

3
ABBBABAAH
HHHHHAHHHA
EEAE

output

5

Comments

There are no comments at the moment.