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

3day(s) and 19:40:45 before deadline (04/27 16:27:12 JST), all source codes will be revealed after the deadline

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
1Histocrat680.00012018/04/20 01:59:491B / 22B / 43B
2rotary-o680.01032018/04/23 00:32:250B / 32B / 36B

Ruby2 _

RankUserSizeTimeDateStatistics
1rotary-o660.06582018/04/23 00:19:110B / 31B / 34B
2letranger750.04782018/04/14 07:30:330B / 36B / 37B

Perl _

RankUserSizeTimeDateStatistics
1tails600.01122018/04/15 03:14:270B / 29B / 29B

Python _

RankUserSizeTimeDateStatistics
1lynn730.02312018/04/13 16:37:020B / 38B / 33B
2xnor730.05662018/04/14 05:31:520B / 38B / 33B
3Mr. Xcoder950.02572018/04/17 02:54:060B / 47B / 43B
4_1030.02662018/04/15 00:29:570B / ?B / ?B
5hyper-neutrino1260.02222018/04/14 00:52:380B / 64B / 54B
6_1450.02332018/04/14 01:17:080B / ?B / ?B

JavaScript _

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

C _

RankUserSizeTimeDateStatistics
1tails880.00002018/04/15 04:22:223B / 42B / 43B
2chocobi1290.01082018/04/14 22:08:180B / 71B / 58B

sed _

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

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails780.01802018/04/15 05:05:280B / 27B / 48B

gs2 _

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

Scala _

RankUserSizeTimeDateStatistics
1rotary-o873.04712018/04/23 00:40:200B / 41B / 41B

Language Ranking_

RankLangUserSizeScore
1gs2tails1910000
2Perltails603166
3Ruby2rotary-o662878
4RubyHistocrat682794
5Pythonlynn732602
6sedtails762500
7Bash (builtins)tails782435
8Scalarotary-o872183
9Ctails882159
10JavaScriptZED.CWT1141666

return to the top page