divide rectangles

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

divide horizontally and vertically

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

+------+
|      |
|      |
|      |
|      |
+------+
2 3

Sample output:

+--+ +--+ +--+
|  | |  | |  |
|  | |  | |  |
+--+ +--+ +--+
+--+ +--+ +--+
|  | |  | |  |
|  | |  | |  |
+--+ +--+ +--+

Sample input:_

+----+
|    |
|    |
|    |
+----+
3 2

Sample output:

+--+ +--+
|  | |  |
+--+ +--+
+--+ +--+
|  | |  |
+--+ +--+
+--+ +--+
|  | |  |
+--+ +--+

Sample input:_

+--+
|  |
|  |
|  |
|  |
|  |
+--+
1 2
+--------+
|        |
|        |
+--------+
2 1
+---+
|   |
|   |
|   |
|   |
|   |
|   |
+---+
1 1
+-------+
|       |
|       |
|       |
|       |
+-------+
2 7
+--+
|  |
+--+
1 2
+---------+
|         |
|         |
|         |
|         |
+---------+
2 3
+------------+
|            |
|            |
|            |
|            |
|            |
|            |
|            |
|            |
+------------+
4 6
+--------------+
|              |
|              |
|              |
|              |
|              |
|              |
|              |
+--------------+
1 7
+---------+
|         |
|         |
|         |
|         |
|         |
|         |
|         |
|         |
|         |
+---------+
3 9
+----------------------+
|                      |
|                      |
|                      |
|                      |
|                      |
+----------------------+
1 11

Sample output:

+-+ +-+
| | | |
| | | |
| | | |
| | | |
| | | |
+-+ +-+
+--------+
|        |
+--------+
+--------+
|        |
+--------+
+---+
|   |
|   |
|   |
|   |
|   |
|   |
+---+
+-+ +-+ +-+ +-+ +-+ +-+ +-+
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
+-+ +-+ +-+ +-+ +-+ +-+ +-+
+-+ +-+ +-+ +-+ +-+ +-+ +-+
| | | | | | | | | | | | | |
| | | | | | | | | | | | | |
+-+ +-+ +-+ +-+ +-+ +-+ +-+
+-+ +-+
| | | |
+-+ +-+
+---+ +---+ +---+
|   | |   | |   |
|   | |   | |   |
+---+ +---+ +---+
+---+ +---+ +---+
|   | |   | |   |
|   | |   | |   |
+---+ +---+ +---+
+--+ +--+ +--+ +--+ +--+ +--+
|  | |  | |  | |  | |  | |  |
|  | |  | |  | |  | |  | |  |
+--+ +--+ +--+ +--+ +--+ +--+
+--+ +--+ +--+ +--+ +--+ +--+
|  | |  | |  | |  | |  | |  |
|  | |  | |  | |  | |  | |  |
+--+ +--+ +--+ +--+ +--+ +--+
+--+ +--+ +--+ +--+ +--+ +--+
|  | |  | |  | |  | |  | |  |
|  | |  | |  | |  | |  | |  |
+--+ +--+ +--+ +--+ +--+ +--+
+--+ +--+ +--+ +--+ +--+ +--+
|  | |  | |  | |  | |  | |  |
|  | |  | |  | |  | |  | |  |
+--+ +--+ +--+ +--+ +--+ +--+
+--+ +--+ +--+ +--+ +--+ +--+ +--+
|  | |  | |  | |  | |  | |  | |  |
|  | |  | |  | |  | |  | |  | |  |
|  | |  | |  | |  | |  | |  | |  |
|  | |  | |  | |  | |  | |  | |  |
|  | |  | |  | |  | |  | |  | |  |
|  | |  | |  | |  | |  | |  | |  |
|  | |  | |  | |  | |  | |  | |  |
+--+ +--+ +--+ +--+ +--+ +--+ +--+
+-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
+-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+
+-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
+-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+
+-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | |
+-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+
+--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+
|  | |  | |  | |  | |  | |  | |  | |  | |  | |  | |  |
|  | |  | |  | |  | |  | |  | |  | |  | |  | |  | |  |
|  | |  | |  | |  | |  | |  | |  | |  | |  | |  | |  |
|  | |  | |  | |  | |  | |  | |  | |  | |  | |  | |  |
|  | |  | |  | |  | |  | |  | |  | |  | |  | |  | |  |
+--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+ +--+

Ranking

Perl _

RankUserSizeTimeDateStatistics
1tails970.03262015/08/08 00:53:150B / 21B / 73B
2brx1110.04092015/08/07 02:47:290B / 31B / 75B
3BioFALSE2020.03882015/07/28 11:23:520B / 65B / 126B
4BioFALSE(author)9540.03572015/07/28 10:39:570B / 314B / 308B

Python _

RankUserSizeTimeDateStatistics
1llhuii1550.10042015/08/09 23:44:410B / ?B / ?B
2recursive1650.08842015/07/30 03:03:120B / 77B / 75B
3rolf1980.09782015/07/30 04:21:470B / 82B / 103B
4mitchs (llhuii)1480.10462015/08/11 19:56:590B / 67B / 76B

Python3 _

RankUserSizeTimeDateStatistics
1llhuii1570.24542015/08/10 23:23:230B / 69B / 77B

C _

RankUserSizeTimeDateStatistics
1llhuii1620.03192015/08/11 01:53:380B / 80B / 82B

ObjC _

RankUserSizeTimeDateStatistics
1llhuii1620.03412015/08/11 02:00:360B / 80B / 82B

AWK _

RankUserSizeTimeDateStatistics
1llhuii1230.03302015/08/11 01:05:440B / ?B / ?B

sed _

RankUserSizeTimeDateStatistics
1tails2930.10692015/07/29 15:06:320B / 89B / 162B

Bash _

RankUserSizeTimeDateStatistics
1llhuii1300.01792015/08/11 00:49:560B / ?B / ?B

Zsh _

RankUserSizeTimeDateStatistics
1llhuii1300.02082015/08/11 00:49:450B / ?B / ?B

Fish _

RankUserSizeTimeDateStatistics
1llhuii1300.07062015/08/11 00:49:520B / ?B / ?B

xgawk _

RankUserSizeTimeDateStatistics
1llhuii1220.03542015/08/11 01:07:380B / ?B / ?B

Language Ranking_

RankLangUserSizeScore
1Perltails9710000
2xgawkllhuii1227950
3AWKllhuii1237886
4Zshllhuii1307461
5Fishllhuii1307461
6Bashllhuii1307461
7Pythonmitchs (llhuii)1486554
8Python3llhuii1576178
9Cllhuii1625987
10ObjCllhuii1625987
11sedtails2933310

return to the top page