Digit Octagon

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

Print this octagon shape of digits 1–8. (The center is a square of 8×8 eights.)

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

*NOTHING*

Sample output:

       11111111
      1222222221
     123333333321
    12344444444321
   1234555555554321
  123456666666654321
 12345677777777654321
1234567888888887654321
1234567888888887654321
1234567888888887654321
1234567888888887654321
1234567888888887654321
1234567888888887654321
1234567888888887654321
1234567888888887654321
 12345677777777654321
  123456666666654321
   1234555555554321
    12344444444321
     123333333321
      1222222221
       11111111

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1tails630.00012018/04/27 09:21:250B / 31B / 30B
2Histocrat670.00012018/04/24 05:52:231B / 20B / 44B
3rotary-o670.02452018/04/27 00:12:390B / 32B / 35B

Ruby2 _

RankUserSizeTimeDateStatistics
1tails630.05982018/04/27 09:37:160B / 31B / 30B
2rotary-o660.06582018/04/23 00:19:110B / 31B / 34B
3letranger750.04782018/04/14 07:30:330B / 36B / 37B
4rotary-o(tails)610.07452018/04/27 20:43:080B / 27B / 28B

Perl _

RankUserSizeTimeDateStatistics
1tails600.01122018/04/15 03:14:270B / 29B / 29B
2shlomif710.00012018/04/27 04:18:470B / 37B / 33B

Python _

RankUserSizeTimeDateStatistics
1xnor670.02372018/04/25 11:43:180B / 31B / 35B
2TokusiN680.02392018/04/25 05:10:340B / 32B / 35B
3lynn730.02312018/04/13 16:37:020B / 38B / 33B
4Da770.02482018/04/27 08:45:530B / ?B / ?B
5Mr. Xcoder850.02622018/04/24 02:26:550B / 39B / 41B
6_1030.02662018/04/15 00:29:570B / ?B / ?B
7hyper-neutrino1260.02222018/04/14 00:52:380B / 64B / 54B
8_1450.02332018/04/14 01:17:080B / ?B / ?B

Python3 _

RankUserSizeTimeDateStatistics
1TokusiN730.03812018/04/25 05:11:030B / 32B / 40B
2mypetlion740.04112018/04/27 05:07:570B / 34B / 39B
3shigeru900.03872018/04/30 22:27:100B / 43B / 42B

JavaScript _

RankUserSizeTimeDateStatistics
1ZED.CWT1140.01072018/04/19 01:47:240B / 54B / 59B

C _

RankUserSizeTimeDateStatistics
1TokusiN800.00012018/04/24 22:42:000B / 41B / 39B
2tails850.00012018/04/25 11:00:303B / 41B / 41B
3chocobi1290.01082018/04/14 22:08:180B / 71B / 58B
4tails (TokusiN)790.00012018/04/27 16:41:030B / 41B / 38B

sed _

RankUserSizeTimeDateStatistics
1tails760.01062018/04/13 18:34:180B / 35B / 26B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails780.01802018/04/15 05:05:280B / 27B / 48B
2tails700.00012018/04/27 16:59:260B / 31B / 36B

dc _

RankUserSizeTimeDateStatistics
1tails560.01492018/04/25 10:59:070B / 36B / 20B

GolfScript _

RankUserSizeTimeDateStatistics
1tails340.01502018/04/25 17:54:420B / 7B / 26B

gs2 _

RankUserSizeTimeDateStatistics
1tails190.07312018/04/13 19:28:368B / 3B / 5B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o873.04712018/04/23 00:40:200B / 41B / 41B
2rotary-o(tails)855.17552018/04/28 11:45:331B / 36B / 41B

Language Ranking_

RankLangUserSizeScore
1gs2tails1910000
2GolfScripttails345588
3dctails563392
4Perltails603166
5Ruby2rotary-o(tails)613114
6Rubytails633015
7Pythonxnor672835
8Bash (builtins)tails702714
9Python3TokusiN732602
10sedtails762500
11Ctails (TokusiN)792405
12Scalarotary-o(tails)852235
13JavaScriptZED.CWT1141666

return to the top page