Spirals
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
Make a spiral of each size.
Options
exec is denied
no deadline, the server will not save your submission
Sample input:_
25x25
Sample output:
+-----------------------+
+----------------------+|
|+--------------------+||
||+------------------+|||
|||+----------------+||||
||||+--------------+|||||
|||||+------------+||||||
||||||+----------+|||||||
|||||||+--------+||||||||
||||||||+------+|||||||||
|||||||||+----+||||||||||
||||||||||+--+|||||||||||
|||||||||||++||||||||||||
|||||||||||+-+|||||||||||
||||||||||+---+||||||||||
|||||||||+-----+|||||||||
||||||||+-------+||||||||
|||||||+---------+|||||||
||||||+-----------+||||||
|||||+-------------+|||||
||||+---------------+||||
|||+-----------------+|||
||+-------------------+||
|+---------------------+|
+-----------------------+
Sample input:_
40x17
Sample output:
+--------------------------------------+
+-------------------------------------+|
|+-----------------------------------+||
||+---------------------------------+|||
|||+-------------------------------+||||
||||+-----------------------------+|||||
|||||+---------------------------+||||||
||||||+-------------------------+|||||||
|||||||+-----------------------+||||||||
|||||||+------------------------+|||||||
||||||+--------------------------+||||||
|||||+----------------------------+|||||
||||+------------------------------+||||
|||+--------------------------------+|||
||+----------------------------------+||
|+------------------------------------+|
+--------------------------------------+
Sample input:_
45x56
Sample output:
+-------------------------------------------+
+------------------------------------------+|
|+----------------------------------------+||
||+--------------------------------------+|||
|||+------------------------------------+||||
||||+----------------------------------+|||||
|||||+--------------------------------+||||||
||||||+------------------------------+|||||||
|||||||+----------------------------+||||||||
||||||||+--------------------------+|||||||||
|||||||||+------------------------+||||||||||
||||||||||+----------------------+|||||||||||
|||||||||||+--------------------+||||||||||||
||||||||||||+------------------+|||||||||||||
|||||||||||||+----------------+||||||||||||||
||||||||||||||+--------------+|||||||||||||||
|||||||||||||||+------------+||||||||||||||||
||||||||||||||||+----------+|||||||||||||||||
|||||||||||||||||+--------+||||||||||||||||||
||||||||||||||||||+------+|||||||||||||||||||
|||||||||||||||||||+----+||||||||||||||||||||
||||||||||||||||||||+--+|||||||||||||||||||||
|||||||||||||||||||||++||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||
|||||||||||||||||||||||||||||||||||||||||||||
||||||||||||||||||||||+||||||||||||||||||||||
|||||||||||||||||||||+-+|||||||||||||||||||||
||||||||||||||||||||+---+||||||||||||||||||||
|||||||||||||||||||+-----+|||||||||||||||||||
||||||||||||||||||+-------+||||||||||||||||||
|||||||||||||||||+---------+|||||||||||||||||
||||||||||||||||+-----------+||||||||||||||||
|||||||||||||||+-------------+|||||||||||||||
||||||||||||||+---------------+||||||||||||||
|||||||||||||+-----------------+|||||||||||||
||||||||||||+-------------------+||||||||||||
|||||||||||+---------------------+|||||||||||
||||||||||+-----------------------+||||||||||
|||||||||+-------------------------+|||||||||
||||||||+---------------------------+||||||||
|||||||+-----------------------------+|||||||
||||||+-------------------------------+||||||
|||||+---------------------------------+|||||
||||+-----------------------------------+||||
|||+-------------------------------------+|||
||+---------------------------------------+||
|+-----------------------------------------+|
+-------------------------------------------+
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | Hem | 144 | 0.0423 | 2016/06/28 17:17:17 | 0B / 41B / 103B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | twobit | 151 | 0.0596 | 2012/08/23 10:08:54 | 0B / 73B / 74B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | I., S. | 97 | 0.1278 | 2012/08/20 20:20:33 | 0B / 28B / 65B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | henkma | 139 | 0.0464 | 2012/09/19 21:11:27 | 0B / 69B / 67B |
2 | notogawa | 149 | 0.0584 | 2012/08/26 17:45:42 | 0B / 75B / 71B |
3 | tttaki | 162 | 0.0505 | 2012/12/07 22:15:07 | 0B / 79B / 79B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | fsystem | 90 | 0.0328 | 2012/10/28 14:10:27 | 43B / 22B / 22B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | clock | 66 | 0.1387 | 2012/08/18 13:26:06 | 7B / 39B / 17B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | Vim | clock | 66 | 10000 |
2 | z80 | fsystem | 90 | 7333 |
3 | J | I., S. | 97 | 6804 |
4 | Haskell | henkma | 139 | 4748 |
5 | Perl | Hem | 144 | 4583 |
6 | Python | twobit | 151 | 4370 |
return to the top page