Sha256: 6c81e29ad1ad863b7e714452e39a598ea77c4491a2d4edad882d04b2ade6310e

Contents?: true

Size: 566 Bytes

Versions: 20

Compression:

Stored size: 566 Bytes

Contents

Count the rectangles in an ASCII diagram like the one below.

```text
   +--+
  ++  |
+-++--+
|  |  |
+--+--+
```

The above diagram contains 6 rectangles:

```text


+-----+
|     |
+-----+
```

```text
   +--+
   |  |
   |  |
   |  |
   +--+
```

```text
   +--+
   |  |
   +--+


```

```text
       
       
   +--+
   |  |
   +--+
```

```text
       
       
+--+
|  |
+--+
```

```text
       
  ++   
  ++   
       
       
```

You may assume that the input is always a proper rectangle (i.e. the length of
every line equals the length of the first line).

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
trackler-2.2.1.59 problem-specifications/exercises/rectangles/description.md
trackler-2.2.1.58 problem-specifications/exercises/rectangles/description.md
trackler-2.2.1.57 problem-specifications/exercises/rectangles/description.md
trackler-2.2.1.56 problem-specifications/exercises/rectangles/description.md
trackler-2.2.1.55 problem-specifications/exercises/rectangles/description.md
trackler-2.2.1.54 problem-specifications/exercises/rectangles/description.md
trackler-2.2.1.53 problem-specifications/exercises/rectangles/description.md
trackler-2.2.1.52 problem-specifications/exercises/rectangles/description.md
trackler-2.2.1.51 problem-specifications/exercises/rectangles/description.md
trackler-2.2.1.50 problem-specifications/exercises/rectangles/description.md
trackler-2.2.1.49 problem-specifications/exercises/rectangles/description.md
trackler-2.2.1.48 problem-specifications/exercises/rectangles/description.md
trackler-2.2.1.47 problem-specifications/exercises/rectangles/description.md
trackler-2.2.1.46 problem-specifications/exercises/rectangles/description.md
trackler-2.2.1.45 problem-specifications/exercises/rectangles/description.md
trackler-2.2.1.44 problem-specifications/exercises/rectangles/description.md
trackler-2.2.1.43 problem-specifications/exercises/rectangles/description.md
trackler-2.2.1.42 problem-specifications/exercises/rectangles/description.md
trackler-2.2.1.41 problem-specifications/exercises/rectangles/description.md
trackler-2.2.1.40 problem-specifications/exercises/rectangles/description.md