Hay cruces

Program a function @hay_cruces(M)@ which, given an array of dimensions
fil * col (for fil, col ≥ 3) whose elements are "-" and "*", returns
True when there is at least one cross. A cross is a pattern:

-*-

***

-*-

Sample session

Problem information

Author: InfBesos

Generation: 2026-01-25T17:43:44.572Z

© Jutge.org, 2006–2026.
https://jutge.org
