segs

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 all segments of an input string.

Options

exec is denied

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

Sample input:_

0123456789

Sample output:

9
8
89
7
78
789
6
67
678
6789
5
56
567
5678
56789
4
45
456
4567
45678
456789
3
34
345
3456
34567
345678
3456789
2
23
234
2345
23456
234567
2345678
23456789
1
12
123
1234
12345
123456
1234567
12345678
123456789
0
01
012
0123
01234
012345
0123456
01234567
012345678
0123456789

Sample input:_

zyxwvutsrqponmlkjihgfedcba

Sample output:

a
b
ba
c
cb
cba
d
dc
dcb
dcba
e
ed
edc
edcb
edcba
f
fe
fed
fedc
fedcb
fedcba
g
gf
gfe
gfed
gfedc
gfedcb
gfedcba
h
hg
hgf
hgfe
hgfed
hgfedc
hgfedcb
hgfedcba
i
ih
ihg
ihgf
ihgfe
ihgfed
ihgfedc
ihgfedcb
ihgfedcba
j
ji
jih
jihg
jihgf
jihgfe
jihgfed
jihgfedc
jihgfedcb
jihgfedcba
k
kj
kji
kjih
kjihg
kjihgf
kjihgfe
kjihgfed
kjihgfedc
kjihgfedcb
kjihgfedcba
l
lk
lkj
lkji
lkjih
lkjihg
lkjihgf
lkjihgfe
lkjihgfed
lkjihgfedc
lkjihgfedcb
lkjihgfedcba
m
ml
mlk
mlkj
mlkji
mlkjih
mlkjihg
mlkjihgf
mlkjihgfe
mlkjihgfed
mlkjihgfedc
mlkjihgfedcb
mlkjihgfedcba
n
nm
nml
nmlk
nmlkj
nmlkji
nmlkjih
nmlkjihg
nmlkjihgf
nmlkjihgfe
nmlkjihgfed
nmlkjihgfedc
nmlkjihgfedcb
nmlkjihgfedcba
o
on
onm
onml
onmlk
onmlkj
onmlkji
onmlkjih
onmlkjihg
onmlkjihgf
onmlkjihgfe
onmlkjihgfed
onmlkjihgfedc
onmlkjihgfedcb
onmlkjihgfedcba
p
po
pon
ponm
ponml
ponmlk
ponmlkj
ponmlkji
ponmlkjih
ponmlkjihg
ponmlkjihgf
ponmlkjihgfe
ponmlkjihgfed
ponmlkjihgfedc
ponmlkjihgfedcb
ponmlkjihgfedcba
q
qp
qpo
qpon
qponm
qponml
qponmlk
qponmlkj
qponmlkji
qponmlkjih
qponmlkjihg
qponmlkjihgf
qponmlkjihgfe
qponmlkjihgfed
qponmlkjihgfedc
qponmlkjihgfedcb
qponmlkjihgfedcba
r
rq
rqp
rqpo
rqpon
rqponm
rqponml
rqponmlk
rqponmlkj
rqponmlkji
rqponmlkjih
rqponmlkjihg
rqponmlkjihgf
rqponmlkjihgfe
rqponmlkjihgfed
rqponmlkjihgfedc
rqponmlkjihgfedcb
rqponmlkjihgfedcba
s
sr
srq
srqp
srqpo
srqpon
srqponm
srqponml
srqponmlk
srqponmlkj
srqponmlkji
srqponmlkjih
srqponmlkjihg
srqponmlkjihgf
srqponmlkjihgfe
srqponmlkjihgfed
srqponmlkjihgfedc
srqponmlkjihgfedcb
srqponmlkjihgfedcba
t
ts
tsr
tsrq
tsrqp
tsrqpo
tsrqpon
tsrqponm
tsrqponml
tsrqponmlk
tsrqponmlkj
tsrqponmlkji
tsrqponmlkjih
tsrqponmlkjihg
tsrqponmlkjihgf
tsrqponmlkjihgfe
tsrqponmlkjihgfed
tsrqponmlkjihgfedc
tsrqponmlkjihgfedcb
tsrqponmlkjihgfedcba
u
ut
uts
utsr
utsrq
utsrqp
utsrqpo
utsrqpon
utsrqponm
utsrqponml
utsrqponmlk
utsrqponmlkj
utsrqponmlkji
utsrqponmlkjih
utsrqponmlkjihg
utsrqponmlkjihgf
utsrqponmlkjihgfe
utsrqponmlkjihgfed
utsrqponmlkjihgfedc
utsrqponmlkjihgfedcb
utsrqponmlkjihgfedcba
v
vu
vut
vuts
vutsr
vutsrq
vutsrqp
vutsrqpo
vutsrqpon
vutsrqponm
vutsrqponml
vutsrqponmlk
vutsrqponmlkj
vutsrqponmlkji
vutsrqponmlkjih
vutsrqponmlkjihg
vutsrqponmlkjihgf
vutsrqponmlkjihgfe
vutsrqponmlkjihgfed
vutsrqponmlkjihgfedc
vutsrqponmlkjihgfedcb
vutsrqponmlkjihgfedcba
w
wv
wvu
wvut
wvuts
wvutsr
wvutsrq
wvutsrqp
wvutsrqpo
wvutsrqpon
wvutsrqponm
wvutsrqponml
wvutsrqponmlk
wvutsrqponmlkj
wvutsrqponmlkji
wvutsrqponmlkjih
wvutsrqponmlkjihg
wvutsrqponmlkjihgf
wvutsrqponmlkjihgfe
wvutsrqponmlkjihgfed
wvutsrqponmlkjihgfedc
wvutsrqponmlkjihgfedcb
wvutsrqponmlkjihgfedcba
x
xw
xwv
xwvu
xwvut
xwvuts
xwvutsr
xwvutsrq
xwvutsrqp
xwvutsrqpo
xwvutsrqpon
xwvutsrqponm
xwvutsrqponml
xwvutsrqponmlk
xwvutsrqponmlkj
xwvutsrqponmlkji
xwvutsrqponmlkjih
xwvutsrqponmlkjihg
xwvutsrqponmlkjihgf
xwvutsrqponmlkjihgfe
xwvutsrqponmlkjihgfed
xwvutsrqponmlkjihgfedc
xwvutsrqponmlkjihgfedcb
xwvutsrqponmlkjihgfedcba
y
yx
yxw
yxwv
yxwvu
yxwvut
yxwvuts
yxwvutsr
yxwvutsrq
yxwvutsrqp
yxwvutsrqpo
yxwvutsrqpon
yxwvutsrqponm
yxwvutsrqponml
yxwvutsrqponmlk
yxwvutsrqponmlkj
yxwvutsrqponmlkji
yxwvutsrqponmlkjih
yxwvutsrqponmlkjihg
yxwvutsrqponmlkjihgf
yxwvutsrqponmlkjihgfe
yxwvutsrqponmlkjihgfed
yxwvutsrqponmlkjihgfedc
yxwvutsrqponmlkjihgfedcb
yxwvutsrqponmlkjihgfedcba
z
zy
zyx
zyxw
zyxwv
zyxwvu
zyxwvut
zyxwvuts
zyxwvutsr
zyxwvutsrq
zyxwvutsrqp
zyxwvutsrqpo
zyxwvutsrqpon
zyxwvutsrqponm
zyxwvutsrqponml
zyxwvutsrqponmlk
zyxwvutsrqponmlkj
zyxwvutsrqponmlkji
zyxwvutsrqponmlkjih
zyxwvutsrqponmlkjihg
zyxwvutsrqponmlkjihgf
zyxwvutsrqponmlkjihgfe
zyxwvutsrqponmlkjihgfed
zyxwvutsrqponmlkjihgfedc
zyxwvutsrqponmlkjihgfedcb
zyxwvutsrqponmlkjihgfedcba

Sample input:_

Hello, world!

Sample output:

!
d
d!
l
ld
ld!
r
rl
rld
rld!
o
or
orl
orld
orld!
w
wo
wor
worl
world
world!
 
 w
 wo
 wor
 worl
 world
 world!
,
, 
, w
, wo
, wor
, worl
, world
, world!
o
o,
o, 
o, w
o, wo
o, wor
o, worl
o, world
o, world!
l
lo
lo,
lo, 
lo, w
lo, wo
lo, wor
lo, worl
lo, world
lo, world!
l
ll
llo
llo,
llo, 
llo, w
llo, wo
llo, wor
llo, worl
llo, world
llo, world!
e
el
ell
ello
ello,
ello, 
ello, w
ello, wo
ello, wor
ello, worl
ello, world
ello, world!
H
He
Hel
Hell
Hello
Hello,
Hello, 
Hello, w
Hello, wo
Hello, wor
Hello, worl
Hello, world
Hello, world!

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1niha430.11592008/02/15 03:53:110B / 19B / 24B
2leonid440.10852008/03/11 22:45:560B / 21B / 23B
3eban480.08242008/02/15 01:37:220B / 23B / 24B
4GooGoo+.480.09272008/02/18 12:10:160B / 27B / 21B
5shinh480.08182008/03/04 23:21:030B / 24B / 23B
6tabasa650.23832008/02/15 08:39:580B / ?B / ?B
7rochefort610.20882008/03/15 04:57:191B / ?B / ?B

Perl _

RankUserSizeTimeDateStatistics
1Terje K290.07012008/02/15 23:02:110B / 6B / 22B
2ySas290.07162008/02/18 01:22:510B / 6B / 23B
3Mithran290.07352008/03/04 18:29:080B / 5B / 23B
4ivanw670.15162008/02/21 14:54:120B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1kt3k710.08792008/02/15 01:22:150B / 42B / 25B
2SeeNoEvil710.12142008/03/04 15:53:460B / 42B / 20B
3hirose720.23912008/03/03 19:58:100B / 41B / 22B
4Vim Lover790.09112016/11/23 04:18:390B / ?B / ?B
5potato830.12902016/11/23 04:23:083B / ?B / ?B
6_1080.16132008/08/25 01:06:223B / ?B / ?B

PHP _

RankUserSizeTimeDateStatistics
1daira800.29332008/03/03 17:41:130B / 39B / 39B
2o-cn710.03672010/01/02 16:53:150B / 31B / 38B

Scheme _

RankUserSizeTimeDateStatistics
1pla1050.17842008/02/23 15:43:340B / 62B / 35B
2mushi1820.23142008/03/10 16:06:101B / ?B / ?B
3murky-satyr1030.26932008/06/23 14:57:570B / 58B / 39B
4test2970.17212008/03/18 18:31:020B / 173B / 83B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima960.47602008/02/29 10:01:460B / 59B / 29B

Arc _

RankUserSizeTimeDateStatistics
1murky-satyr6510.58892009/11/01 12:02:400B / 37B / 19B
2pooq7310.90892009/10/13 07:19:580B / 38B / 22B

Io _

RankUserSizeTimeDateStatistics
1pooq832.69572008/02/17 20:01:150B / 60B / 20B
2murky-satyr832.64422008/03/03 03:52:590B / 60B / 20B

JavaScript _

RankUserSizeTimeDateStatistics
1murky-satyr650.10742008/03/03 03:22:570B / 35B / 30B
2Adrien Friggeri690.07472008/02/27 03:27:480B / 38B / 30B
3nn600.08442008/10/18 10:21:070B / 32B / 28B
4murky-satyr630.12502008/05/01 01:20:390B / 34B / 29B
5REM650.09462008/04/08 13:38:070B / ?B / ?B

Lua _

RankUserSizeTimeDateStatistics
1tabasa950.09722008/02/16 11:01:140B / 61B / 27B
2murky-satyr660.05702008/05/28 21:14:180B / 41B / 18B
3pooq730.07692008/04/07 12:12:070B / 45B / 20B

Tcl _

RankUserSizeTimeDateStatistics
1murky-satyr1090.22422008/07/10 08:36:250B / 61B / 25B

Xtal _

RankUserSizeTimeDateStatistics
1murky-satyr750.42072008/03/01 01:06:450B / 45B / 30B

Smalltalk _

RankUserSizeTimeDateStatistics
1murky-satyr930.35142008/02/15 06:36:440B / 57B / 27B
2murky-satyr870.74762008/06/27 03:16:140B / 54B / 27B

Forth _

RankUserSizeTimeDateStatistics
151b760.16352010/04/04 00:23:170B / 47B / 7B

BASIC _

RankUserSizeTimeDateStatistics
1yt740.09262008/02/21 10:05:460B / 47B / 21B
2pooq740.09602008/02/26 15:02:220B / 47B / 18B

Erlang _

RankUserSizeTimeDateStatistics
151b1430.89822008/02/16 01:09:040B / 74B / 65B

J _

RankUserSizeTimeDateStatistics
1pooq160.17452008/03/05 07:00:450B / 5B / 11B
2I., S.150.11262011/08/17 22:25:330B / 5B / 10B

C _

RankUserSizeTimeDateStatistics
151b740.05642008/02/26 13:32:310B / 36B / 38B
2hinoe750.02412008/02/26 04:52:320B / 39B / 36B
3inaniwa880.00112010/01/10 18:52:550B / 45B / 42B

D _

RankUserSizeTimeDateStatistics
151b1060.04262008/02/16 00:34:460B / 69B / 33B

OCaml _

RankUserSizeTimeDateStatistics
1ksk1030.19072008/05/01 21:54:540B / 76B / 14B
2m.ukai1380.20412008/04/10 20:11:570B / 99B / 20B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa600.09442008/02/26 21:40:330B / ?B / ?B
2moriA620.05052008/02/24 00:54:560B / ?B / ?B
3konn670.02952008/02/28 21:33:310B / ?B / ?B
4xdigit830.03602008/03/09 15:40:400B / 65B / 15B
5lynn680.03512017/02/20 08:44:120B / ?B / ?B
6dianne680.03312017/02/20 08:52:560B / 45B / 22B
7kaki790.11712008/12/29 03:36:340B / 57B / 20B

Ada _

RankUserSizeTimeDateStatistics
1D1560.01652008/02/20 18:39:140B / 116B / 23B

Java _

RankUserSizeTimeDateStatistics
1dc1580.24952016/06/10 17:25:130B / 101B / 52B

Pascal _

RankUserSizeTimeDateStatistics
1*yuko*1060.03952011/10/22 10:17:030B / 71B / 27B
2uru1110.09442009/07/10 00:13:030B / 72B / 29B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*800.04102011/10/22 10:10:530B / 46B / 34B

Maxima _

RankUserSizeTimeDateStatistics
1pooq840.55192011/08/16 03:46:240B / 53B / 31B

Octave _

RankUserSizeTimeDateStatistics
1pooq620.60902011/10/22 09:57:370B / 40B / 18B

Asymptote _

RankUserSizeTimeDateStatistics
1pooq863.08432009/04/20 22:19:070B / 53B / 31B

AWK _

RankUserSizeTimeDateStatistics
1nn560.03922008/06/24 22:49:490B / 27B / 28B

sed _

RankUserSizeTimeDateStatistics
1emoken600.43302008/02/15 19:17:350B / 13B / 43B
2tails (emoken)580.16402012/04/01 02:10:070B / 12B / 42B

jq _

RankUserSizeTimeDateStatistics
1eban550.03382014/12/18 15:26:250B / 32B / 22B

Bash _

RankUserSizeTimeDateStatistics
1eban880.43092008/02/15 02:21:190B / 47B / 27B
2yamaya730.09812010/10/31 20:58:350B / 26B / 35B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails610.07602016/11/24 11:50:580B / 25B / 31B

wake _

RankUserSizeTimeDateStatistics
1murky-satyr400.01472010/07/27 04:44:250B / 4B / 32B

Postscript _

RankUserSizeTimeDateStatistics
1yshl(bin)590.51762008/02/15 19:58:2828B / 24B / 7B
2ySas640.51532008/02/15 15:40:3224B / 26B / 14B
3yshl1220.51082008/02/15 19:58:070B / 91B / 11B

R _

RankUserSizeTimeDateStatistics
1murky-satyr713.92662008/05/28 16:56:350B / 46B / 24B
2pooq884.00932008/05/27 22:56:320B / 55B / 28B

Brainfuck _

RankUserSizeTimeDateStatistics
1nuko610.13432008/02/17 01:02:070B / 0B / 61B

GolfScript _

RankUserSizeTimeDateStatistics
1irori210.31922008/02/17 08:33:550B / 5B / 16B

gs2 _

RankUserSizeTimeDateStatistics
1whio70.25612017/02/17 05:42:381B / 3B / 3B

FlogScript _

RankUserSizeTimeDateStatistics
1zzo38270.63332011/06/07 14:58:500B / 10B / 17B

Unlambda _

RankUserSizeTimeDateStatistics
1hirose590.03742008/03/04 09:14:200B / 25B / 34B
2irori2310.05752008/02/24 21:17:080B / 114B / 117B

Lazy-K _

RankUserSizeTimeDateStatistics
1irori4680.52802008/02/29 11:51:200B / 242B / 226B

Universal Lambda _

RankUserSizeTimeDateStatistics
1irori320.84262008/12/28 01:38:4824B / 3B / 4B

z80 _

RankUserSizeTimeDateStatistics
1kodera280.73392008/03/03 22:21:0318B / 5B / 3B

Vim _

RankUserSizeTimeDateStatistics
1nn640.42592010/10/16 01:06:194B / 39B / 20B

goruby _

RankUserSizeTimeDateStatistics
1murky-satyr370.40052008/07/25 23:09:480B / 14B / 23B

Groovy _

RankUserSizeTimeDateStatistics
1murky-satyr649.82172008/03/03 03:16:460B / 37B / 26B
2hoozie719.99732008/03/03 01:23:520B / 45B / 23B
3murky-satyr629.79532008/03/16 06:55:380B / 35B / 26B

Scala _

RankUserSizeTimeDateStatistics
1murky-satyr7810.79292011/02/28 01:41:570B / 51B / 19B
2pooq7911.00942011/02/28 00:06:320B / 52B / 21B

Logo _

RankUserSizeTimeDateStatistics
1teebee1050.17582011/04/02 08:03:390B / 77B / 10B

Language Ranking_

RankLangUserSizeScore
1gs2whio710000
2JI., S.154666
3GolfScriptirori213333
4FlogScriptzzo38272592
5z80kodera282500
6PerlTerje K292413
7Universal Lambdairori322187
8gorubymurky-satyr371891
9wakemurky-satyr401750
10Rubyniha431627
11jqeban551272
12AWKnn561250
13sedtails (emoken)581206
14Postscriptyshl(bin)591186
15Unlambdahirose591186
16Haskellnotogawa601166
17JavaScriptnn601166
18Brainfucknuko611147
19Bash (builtins)tails611147
20Groovymurky-satyr621129
21Octavepooq621129
22Vimnn641093
23Arcmurky-satyr651076
24Luamurky-satyr661060
25Pythonkt3k71985
26Rmurky-satyr71985
27PHPo-cn71985
28Bashyamaya73958
29BASICyt74945
30C51b74945
31Xtalmurky-satyr75933
32Forth51b76921
33Scalamurky-satyr78897
34Fortran*yuko*80875
35Iopooq83843
36Maximapooq84833
37Asymptotepooq86813
38Smalltalkmurky-satyr87804
39Common LISPkozima96729
40OCamlksk103679
41Schememurky-satyr103679
42Logoteebee105666
43D51b106660
44Pascal*yuko*106660
45Tclmurky-satyr109642
46Erlang51b143489
47AdaD156448
48Javadc158443
49Lazy-Kirori468149

return top