char pyramid

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

Make a pyramid with input string data.



The top of the pyramid is the last character of the input string data, the bottom of the pyramid is all input strings.



For example, input data is "hi", please print as below:

i
h i

Options

exec is denied

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

Sample input:_

golf

Sample output:

   f   
  l f  
 o l f 
g o l f

Sample input:_

shinh

Sample output:

    h    
   n h   
  i n h  
 h i n h 
s h i n h

Sample input:_

abracadabra

Sample output:

          a          
         r a         
        b r a        
       a b r a       
      d a b r a      
     a d a b r a     
    c a d a b r a    
   a c a d a b r a   
  r a c a d a b r a  
 b r a c a d a b r a 
a b r a c a d a b r a

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid500.00262010/04/20 06:23:040B / 21B / 23B
2niha500.00262010/04/23 17:25:060B / 18B / 29B
3yvl520.00202010/05/04 22:04:170B / 20B / 31B
4shinh570.00232010/04/17 04:50:550B / 25B / 28B
5murky-satyr590.00192010/04/16 01:25:420B / 28B / 29B
6msk650.10662010/04/09 18:11:470B / 34B / 28B
7eban650.00202010/04/16 12:20:480B / 31B / 30B
8KangJ500.05172015/11/12 14:34:390B / ?B / ?B

Perl _

RankUserSizeTimeDateStatistics
1ySas430.21782010/04/09 14:20:200B / 20B / 22B
2Mithran510.19472010/04/10 03:33:260B / 17B / 33B
3dcutter540.00172010/04/20 00:13:220B / 21B / 32B
4_600.28662010/04/09 03:41:230B / 25B / 34B
5TAKO/j0nKI600.03692010/04/09 03:43:340B / 25B / 34B

Python _

RankUserSizeTimeDateStatistics
1recursive680.30012010/04/09 04:38:460B / 35B / 27B
2xulapp680.30582010/04/10 00:57:080B / 35B / 27B
3tobiesque680.01092010/04/20 10:53:230B / 35B / 27B
4hallvabo680.00732010/05/06 10:35:490B / 35B / 27B
5primo690.07332010/04/09 20:10:290B / 37B / 26B
6hallvabo (alternative)690.00712010/05/06 07:50:450B / 39B / 24B
7wrongrook700.00702010/04/15 05:37:320B / ?B / ?B
8betaveros700.01192010/04/16 09:47:371B / 34B / 31B
9hallvabo (recursion)720.00692010/05/06 01:12:230B / 34B / 30B
10Defenestrator760.00672010/04/29 14:43:261B / 38B / 30B
11_980.04602010/04/16 09:39:163B / 42B / 31B

PHP _

RankUserSizeTimeDateStatistics
1o-cn860.01152010/04/24 16:24:182B / 43B / 40B
2xulapp950.02042010/05/06 16:00:072B / 45B / 48B

Common LISP _

RankUserSizeTimeDateStatistics
1youz1000.10232010/04/13 23:49:330B / 55B / 38B

Arc _

RankUserSizeTimeDateStatistics
1youz753.39392010/04/27 20:55:130B / 43B / 25B
2murky-satyr923.88482010/04/27 11:31:210B / 53B / 31B

Clojure _

RankUserSizeTimeDateStatistics
1youz962.89332010/04/13 23:51:310B / 48B / 45B
2murky-satyr1003.05452010/04/27 10:19:280B / 56B / 40B
3murky-satyr855.31252010/05/08 04:48:170B / 36B / 47B

JavaScript _

RankUserSizeTimeDateStatistics
1xulapp770.00282010/04/12 09:59:470B / 42B / 34B
2ktt820.00272010/04/12 14:42:480B / 41B / 39B
3nn840.00272010/04/30 19:02:260B / 41B / 40B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*810.00182010/05/06 20:18:540B / 45B / 31B
2Carlos Gutierrez1130.00152010/05/06 06:56:230B / 55B / 49B

Erlang _

RankUserSizeTimeDateStatistics
1eriksoe1500.38762010/04/12 22:50:534B / 59B / 80B

J _

RankUserSizeTimeDateStatistics
1pooq360.04962010/04/25 06:03:240B / 12B / 23B
2I., S.230.09542011/01/04 21:41:050B / 10B / 13B

C _

RankUserSizeTimeDateStatistics
1nn890.00102010/04/15 21:02:180B / 42B / 47B
2nai890.00102010/04/17 13:06:540B / 45B / 44B
3not990.00102010/04/14 00:07:580B / 53B / 46B
4msk1010.00152010/05/06 22:52:370B / 51B / 50B
5not(nn)870.00182010/05/08 14:11:100B / 42B / 45B

C++ _

RankUserSizeTimeDateStatistics
1nn1220.00112010/04/15 01:42:150B / 61B / 59B
2Piekut-m3940.00152010/05/05 16:16:0417B / 141B / 99B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa740.00152010/04/15 19:45:510B / ?B / ?B
2rst76740.00152010/04/15 22:05:540B / 27B / 43B
3tanakh760.00152010/05/05 05:06:490B / 26B / 48B
4snowclust820.00142010/05/03 10:06:240B / ?B / ?B
5pi8027850.00152010/04/30 09:53:000B / 40B / 39B
6Lost_dog880.00162010/04/17 17:40:200B / 34B / 49B
7konn1250.00272010/05/13 21:01:190B / 88B / 28B

Pascal _

RankUserSizeTimeDateStatistics
1*yuko*1170.00092010/05/06 20:37:130B / 76B / 37B
2uru1290.00092010/04/15 22:11:130B / 80B / 45B
3*yuko*1070.00162010/05/07 07:19:240B / 67B / 36B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*1030.04102011/11/23 20:54:410B / 56B / 44B

C# _

RankUserSizeTimeDateStatistics
1darefilz2060.19142010/04/09 05:17:550B / 125B / 74B

Asymptote _

RankUserSizeTimeDateStatistics
1xulapp1171.54642010/04/18 21:37:410B / 71B / 43B

AWK _

RankUserSizeTimeDateStatistics
1nn650.03732012/11/14 22:28:380B / 26B / 35B

sed _

RankUserSizeTimeDateStatistics
1emoken410.00132010/04/18 14:10:140B / 10B / 22B
2eban500.00142010/04/16 10:07:400B / 14B / 24B

Bash _

RankUserSizeTimeDateStatistics
1eban690.04852010/04/15 19:36:320B / 28B / 31B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails690.02802017/04/28 11:27:190B / 26B / 33B

wake _

RankUserSizeTimeDateStatistics
1murky-satyr490.01172010/07/28 06:58:050B / 7B / 35B
2emoken500.01212010/07/24 08:06:540B / 8B / 35B

Postscript _

RankUserSizeTimeDateStatistics
1ySas820.25072010/04/13 16:43:1033B / 21B / 26B

Brainfuck _

RankUserSizeTimeDateStatistics
1hess1410.00102010/04/26 20:12:140B / 0B / 141B

GolfScript _

RankUserSizeTimeDateStatistics
1nn280.10062010/05/04 13:44:440B / 3B / 23B

gs2 _

RankUserSizeTimeDateStatistics
1whio100.25042017/04/28 03:52:142B / 2B / 6B

Nibbles _

RankUserSizeTimeDateStatistics
1darrenks90.04892022/01/28 03:29:268B / ?B / ?B
2tails120.04752022/01/27 18:23:005B / 6B / 1B

FlogScript _

RankUserSizeTimeDateStatistics
1zzo38300.12402010/04/10 06:26:290B / 7B / 22B
2milieu230.17772010/11/10 23:05:460B / ?B / ?B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik420.04212015/05/14 07:18:360B / 23B / 18B

Lazy-K _

RankUserSizeTimeDateStatistics
1tails5600.04992021/06/15 14:46:280B / 303B / 257B

Vim _

RankUserSizeTimeDateStatistics
1pla280.26872010/04/12 19:55:161B / 17B / 7B
2nn300.08802010/04/13 00:24:552B / 24B / 2B

goruby _

RankUserSizeTimeDateStatistics
1murky-satyr410.09582010/04/16 06:49:000B / 14B / 26B

Groovy _

RankUserSizeTimeDateStatistics
1nn793.53642010/04/16 12:50:110B / 44B / 30B
2murky-satyr823.52982010/04/16 01:53:450B / 46B / 34B

Language Ranking_

RankLangUserSizeScore
1Nibblesdarrenks910000
2gs2whio109000
3FlogScriptmilieu233913
4JI., S.233913
5Vimpla283214
6GolfScriptnn283214
7gorubymurky-satyr412195
8sedemoken412195
9BurlesqueHendrik422142
10PerlySas432093
11wakemurky-satyr491836
12Rubyleonid501800
13AWKnn651384
14Pythonrecursive681323
15Basheban691304
16Bash (builtins)tails691304
17Haskellnotogawa741216
18Arcyouz751200
19JavaScriptxulapp771168
20Groovynn791139
21BASIC*yuko*811111
22PostscriptySas821097
23Clojuremurky-satyr851058
24PHPo-cn861046
25Cnot(nn)871034
26Common LISPyouz100900
27Fortran*yuko*103873
28Pascal*yuko*107841
29Asymptotexulapp117769
30C++nn122737
31Brainfuckhess141638
32Erlangeriksoe150600
33C#darefilz206436
34Lazy-Ktails560160

return to the top page