permutater

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 out all permutations of given characters.

Options

no deadline, the server will not save your submission

Sample input:_

hoge

Sample output:

hoge
hoeg
hgoe
hgeo
heog
hego
ohge
oheg
oghe
ogeh
oehg
oegh
ghoe
gheo
gohe
goeh
geho
geoh
ehog
ehgo
eohg
eogh
egho
egoh

Sample input:_

123

Sample output:

123
132
213
231
312
321

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid200.06102013/01/15 03:46:260B / ?B / ?B
2clock210.07272012/10/04 17:01:060B / ?B / ?B
3Jake Summers400.03822012/01/12 05:10:300B / ?B / ?B
4hajimehoshi420.14882008/10/13 19:59:440B / ?B / ?B
5Ephemera420.02702013/09/27 14:04:120B / 31B / 9B
6uru430.00132010/03/17 04:47:560B / 31B / 11B
7ciel430.02372013/05/29 14:08:340B / ?B / ?B
8neocrow430.02512015/07/03 00:49:400B / ?B / ?B
9470.00122010/03/17 02:59:380B / ?B / ?B
10nitsujri520.02692016/07/02 09:19:540B / ?B / ?B
11niha560.21832007/08/20 21:59:270B / 22B / 29B
12flagitious560.07712007/09/11 23:33:150B / 22B / 29B
13shinh590.20452007/08/24 23:53:200B / 27B / 27B
14fulaftrbrnr590.03282011/08/13 01:06:510B / ?B / ?B
15jacknero630.04402008/01/05 15:57:131B / ?B / ?B
16kodera680.16042007/06/20 03:56:240B / 37B / 26B
17tsukkee690.81442007/05/30 03:09:570B / ?B / ?B
18Nelson750.02192015/06/02 08:17:240B / ?B / ?B
19tabasa760.07632008/02/10 07:39:170B / 38B / 32B
20mskzzzz790.16322007/05/15 20:34:580B / 44B / 30B

Ruby2 _

RankUserSizeTimeDateStatistics
1nitsujri390.12062016/07/04 13:56:370B / ?B / ?B
2MBEIRIGO450.13192016/07/02 19:50:180B / ?B / ?B

Perl _

RankUserSizeTimeDateStatistics
1leonid200.23732013/03/20 03:16:270B / ?B / ?B
2clock210.06012012/10/04 17:02:130B / ?B / ?B
3niha560.09662007/08/29 04:32:490B / 19B / 36B
4ySas590.87272007/02/09 18:08:00?B / ?B / ?B
5eban660.34182008/01/04 00:07:230B / 26B / 38B
6ott920.05972007/07/10 22:15:040B / 42B / 47B

Python _

RankUserSizeTimeDateStatistics
1leonid420.08432013/01/15 03:44:160B / ?B / ?B
2clock440.08812012/10/09 10:27:120B / ?B / ?B
3xnor720.06162015/05/21 19:15:090B / ?B / ?B
4Sp3000720.06192015/06/09 14:27:550B / ?B / ?B
5shinh730.06572014/06/14 11:39:300B / 55B / 12B
6starmie730.05652015/02/21 15:37:290B / ?B / ?B
7test730.06582015/06/14 13:49:410B / 55B / 12B
8arvind1740.06672013/03/17 20:42:360B / ?B / ?B
9malkovich740.06752013/09/01 20:55:560B / 55B / 12B
10phoenixstarhiro740.06122014/06/14 00:29:050B / ?B / ?B
11yjsnpi780.06032015/09/10 05:39:580B / ?B / ?B
12hiro.suzuki791.13052007/05/31 02:07:450B / 45B / 25B
13hirose790.02982007/10/16 17:06:090B / 42B / 29B
14kt3k790.04292007/10/23 21:40:080B / 39B / 32B
15recursive790.03642010/03/30 03:27:230B / 45B / 25B
16Mark Byers810.26812007/02/04 08:36:34?B / ?B / ?B
17shimizu810.22722007/02/22 15:56:560B / ?B / ?B
18mskzzzz810.79382007/02/27 14:27:090B / 44B / 27B
19boo810.23052007/05/19 12:51:560B / ?B / ?B
20twobit810.07202011/02/23 07:59:530B / 43B / 28B
21urupica840.06322015/07/15 05:31:540B / ?B / ?B
22primo850.23652007/03/07 09:41:370B / ?B / ?B
23James Wang850.07552016/03/08 12:59:390B / ?B / ?B
24lpussy860.06322015/12/27 09:37:340B / ?B / ?B
25Jiho870.06922013/11/12 15:56:360B / ?B / ?B
26scih900.06022014/11/02 10:39:513B / ?B / ?B
27kotauchi910.08102009/11/02 17:11:163B / 49B / 28B
28govind910.06692013/05/12 03:58:090B / ?B / ?B
29rolf920.06652013/01/14 00:17:080B / 52B / 22B
30920.11252014/11/02 10:38:534B / ?B / ?B
31gabitch940.05642015/12/27 09:24:410B / ?B / ?B
32macik950.04762011/09/19 02:11:020B / ?B / ?B
33Trimsty960.06892014/03/26 03:43:590B / ?B / ?B
34peas1520.06222014/11/10 10:35:250B / ?B / ?B
35croyal1810.00432010/02/26 06:19:590B / ?B / ?B
36meh2490.28212009/02/24 01:49:1010B / ?B / ?B

Python3 _

RankUserSizeTimeDateStatistics
1Stephan W.720.10112015/06/30 21:15:580B / ?B / ?B
2pooq740.11402013/03/06 23:50:110B / 56B / 13B
3uwaaaa850.10912013/10/19 17:51:410B / 60B / 18B
4Kjwon15850.15252016/02/26 15:59:210B / ?B / ?B

PHP _

RankUserSizeTimeDateStatistics
1o-cn960.04912009/12/08 01:33:151B / ?B / ?B
2primo980.06082012/01/13 05:07:282B / 47B / 48B
3mskzzzz1060.31872007/06/12 21:43:230B / 51B / 53B
4beton1340.32322007/05/05 08:40:111B / 64B / 66B

Scheme _

RankUserSizeTimeDateStatistics
1kaki780.20582011/03/22 12:12:360B / 59B / 15B
2pla810.73432007/04/26 01:55:270B / ?B / ?B
3ma840.32192007/02/13 01:47:34?B / ?B / ?B
4pla_cheat850.74482007/02/26 23:48:440B / ?B / ?B
5scm921.15072007/02/13 00:44:44?B / ?B / ?B
6cddddr960.11832011/03/16 14:01:070B / ?B / ?B
7maeda990.86802007/02/09 13:31:25?B / ?B / ?B
8mskzzzz990.26422007/04/30 22:16:010B / 73B / 22B
9hon_ya1300.19822010/03/16 13:48:376B / ?B / ?B
10mushi2280.20282007/12/08 11:11:360B / ?B / ?B
11astecp12030.15022007/02/04 21:04:17?B / ?B / ?B

Common LISP _

RankUserSizeTimeDateStatistics
1alice980.16852009/06/15 19:11:570B / 39B / 52B
2kozima980.11082011/01/14 14:10:460B / 54B / 38B
3ttmh1010.04752015/06/05 21:07:150B / 57B / 38B
4sn1040.66782007/02/23 05:07:190B / ?B / ?B
5shimizu1040.65392007/03/02 03:36:300B / ?B / ?B
6Gus1870.26002007/02/08 20:35:14?B / ?B / ?B

Arc _

RankUserSizeTimeDateStatistics
1youz637.49792009/11/03 01:04:190B / 32B / 25B
2murky-satyr646.89062009/10/27 01:57:210B / 34B / 25B
3zck1401.75782013/09/29 14:44:480B / ?B / ?B

Clojure _

RankUserSizeTimeDateStatistics
1murky-satyr853.96002011/06/30 17:55:560B / 45B / 33B

Io _

RankUserSizeTimeDateStatistics
1murky-satyr1171.76892008/07/13 00:55:240B / 82B / 30B

JavaScript _

RankUserSizeTimeDateStatistics
1murky-satyr780.06692008/04/28 10:27:340B / 44B / 32B
2nanto_vi830.10662007/07/31 09:16:030B / 49B / 30B
3830.00612011/04/04 03:35:450B / 50B / 29B
4siokoshou870.05012013/01/13 09:28:000B / 47B / 39B
5Dashiva900.09402007/04/20 08:46:140B / 50B / 36B
6mskzzzz900.09342007/04/23 03:14:370B / 48B / 40B
7yvl920.00232010/03/20 22:10:440B / 51B / 38B

Lua _

RankUserSizeTimeDateStatistics
1murky-satyr970.00992008/06/01 00:50:040B / 57B / 32B
2twobit970.00182011/03/08 01:14:310B / 57B / 32B
3clock970.02172012/08/13 10:21:160B / 55B / 37B
4tehtmi970.02172013/11/09 16:08:350B / 56B / 39B
5mskzzzz1190.05712007/05/15 23:58:330B / 71B / 37B
6blueblimp1840.17822007/03/02 16:56:520B / 109B / 61B

Tcl _

RankUserSizeTimeDateStatistics
1clock1090.03182012/08/28 13:53:130B / 54B / 32B
2murky-satyr1100.05262008/07/09 07:26:260B / 57B / 30B
3mskzzzz1540.09982007/03/21 22:08:530B / 83B / 38B
4user1900.09852007/03/01 18:17:270B / ?B / ?B

Xtal _

RankUserSizeTimeDateStatistics
1murky-satyr910.20832007/12/02 22:24:140B / 46B / 44B

Kite _

RankUserSizeTimeDateStatistics
1leonid620.60912008/10/19 07:07:250B / 37B / 25B

Icon _

RankUserSizeTimeDateStatistics
1clock790.03392012/04/14 11:00:550B / 39B / 36B

Smalltalk _

RankUserSizeTimeDateStatistics
1murky-satyr940.37092008/07/16 04:32:000B / 54B / 35B
2mskzzzz1340.47802007/03/05 02:48:280B / 79B / 44B
3sumim1921.06612007/02/22 13:38:230B / 115B / 63B

Prolog _

RankUserSizeTimeDateStatistics
1mskzzzz960.21422007/05/28 20:39:010B / 45B / 48B
2todo1530.10572011/02/06 00:24:594B / ?B / ?B

BASIC _

RankUserSizeTimeDateStatistics
1pooq1180.00352011/02/24 18:52:450B / 62B / 48B
2mskzzzz1250.54062007/05/15 22:49:260B / 66B / 48B
3yt1290.09062007/03/15 16:46:320B / ?B / ?B

Perl6 _

RankUserSizeTimeDateStatistics
1murky-satyr667.14142010/08/08 18:59:380B / 28B / 37B

Erlang _

RankUserSizeTimeDateStatistics
151b1140.58852008/06/01 01:35:310B / 49B / 62B
2mskzzzz1791.21932007/06/02 20:22:180B / 91B / 84B

J _

RankUserSizeTimeDateStatistics
1pooq190.15372008/03/05 07:18:540B / 7B / 12B
2I., S.190.06012011/03/09 22:32:100B / 7B / 12B
3random190.07362013/02/19 04:43:440B / ?B / ?B
4kinaba200.10182007/11/09 16:52:320B / 7B / 13B
5medialuna200.04522014/08/26 23:41:360B / ?B / ?B

K _

RankUserSizeTimeDateStatistics
1twobit280.03992012/03/18 10:15:170B / 9B / 19B
2teebee280.03182012/03/22 12:37:280B / 9B / 19B

C _

RankUserSizeTimeDateStatistics
1leonid390.04662013/01/15 03:47:550B / ?B / ?B
27gyou980.01872007/12/22 17:15:130B / 47B / 50B
3TokusiN1010.04142009/06/23 02:20:290B / 45B / 56B
4hinoe1020.06892007/07/14 10:59:530B / 48B / 53B
518kb1050.04612007/06/13 18:18:150B / 50B / 54B
6Magnus Jonsson1090.06802007/04/26 11:59:390B / 53B / 55B
751b1140.05802008/02/22 23:22:490B / 52B / 61B
8kou1140.03012011/06/03 16:53:110B / 55B / 59B
9abf1920.02102013/05/21 00:45:210B / ?B / ?B
10tensaix2j2030.03322007/12/31 01:00:090B / ?B / ?B
11kcha2510.05532007/06/08 14:43:532B / ?B / ?B
12hess2560.01652009/08/30 12:47:530B / ?B / ?B

C++ _

RankUserSizeTimeDateStatistics
17gyou1270.06882007/11/14 00:07:450B / 67B / 56B
2kurimura1400.03982008/07/17 14:21:011B / 76B / 61B
3kani1520.07612008/01/19 02:29:030B / ?B / ?B
4pikmin2260.03292008/07/13 01:06:571B / ?B / ?B

D _

RankUserSizeTimeDateStatistics
151b1250.02692008/02/09 19:44:530B / 73B / 49B
2niha1300.07522007/08/31 01:44:050B / 79B / 48B
3zen23010.07032008/12/28 05:44:560B / 159B / 137B

Go _

RankUserSizeTimeDateStatistics
1uru2230.00022010/03/17 05:17:030B / 165B / 26B
2emoken2850.00552009/12/22 04:42:450B / 157B / 115B

OCaml _

RankUserSizeTimeDateStatistics
1ksk1240.43912007/03/13 02:22:240B / 65B / 50B
2m.ukai1330.08042011/01/13 22:32:440B / 83B / 40B
3suiginto1480.51232007/02/25 02:35:400B / 93B / 40B
4shinh1720.18662007/02/15 12:26:110B / 100B / 45B
5jijixi2270.16202007/02/16 18:31:200B / ?B / ?B

Haskell _

RankUserSizeTimeDateStatistics
1cojna590.02182013/12/02 19:38:170B / 37B / 22B
2henkma590.02932013/12/03 06:58:380B / 37B / 22B
3int-e590.02202014/12/08 04:56:160B / 37B / 22B
4notogawa620.00162010/03/18 22:14:160B / ?B / ?B
5rst76620.00102010/03/21 01:35:330B / 40B / 20B
6koyama41620.00972011/02/10 16:25:170B / 40B / 20B
7_650.05682007/02/06 18:19:49?B / ?B / ?B
8m650.05652007/02/06 21:01:36?B / ?B / ?B
9oxy650.15072007/02/09 15:42:51?B / ?B / ?B
10tanakh650.06152007/02/14 09:42:36?B / ?B / ?B
11sakai650.08842007/02/17 01:49:270B / 37B / 25B
12emoken650.06392007/02/21 14:35:570B / ?B / ?B
13Magnus650.04972007/03/16 06:26:200B / 37B / 25B
14Magnus Jonsson650.07732007/03/16 06:26:530B / 37B / 25B
15kryozahiro650.00102010/02/17 00:53:160B / ?B / ?B
16Lost_dog650.02572010/03/27 20:16:530B / 37B / 25B
17tttaki650.02792012/11/11 23:45:040B / 34B / 28B
18twobit650.02242013/05/16 20:53:590B / 34B / 28B
19kinaba670.18892007/02/08 00:48:16?B / ?B / ?B
20Gus720.06252007/02/05 01:19:38?B / ?B / ?B
21FalconNL720.01362008/10/17 08:11:150B / 41B / 29B
22konn750.06072007/01/31 23:27:46?B / ?B / ?B
23shinh880.08662007/02/02 07:35:40?B / ?B / ?B
24910.00102010/02/06 10:18:150B / ?B / ?B
25ee2150.02312014/12/22 23:04:280B / ?B / ?B
26wa2740.02302012/07/08 22:56:3712B / ?B / ?B

Ada _

RankUserSizeTimeDateStatistics
1D1900.06392007/04/12 15:32:510B / 133B / 41B
2yt2040.08962007/03/07 23:43:380B / ?B / ?B

Pascal _

RankUserSizeTimeDateStatistics
1*yuko*1430.02932012/02/20 02:21:050B / 85B / 52B
2uru1500.02722012/02/19 23:38:410B / 91B / 50B
3yt1700.04202007/03/15 16:50:170B / ?B / ?B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*1460.02382012/02/19 23:22:490B / 80B / 61B

C# _

RankUserSizeTimeDateStatistics
1siokoshou1800.42442007/03/25 21:13:260B / ?B / ?B
2matarillo2370.46012007/03/25 10:30:100B / 141B / 89B
3kazuki2590.45492007/03/24 00:08:410B / ?B / ?B
4mei3270.52332007/03/21 18:00:070B / ?B / ?B

Nemerle _

RankUserSizeTimeDateStatistics
1murky-satyr1340.63882008/11/10 09:57:200B / 75B / 55B

COBOL _

RankUserSizeTimeDateStatistics
1*yuko*2640.02232011/05/16 00:45:590B / 209B / 14B

Curry _

RankUserSizeTimeDateStatistics
1m720.05102007/02/19 23:26:220B / ?B / ?B
2sakai880.04612007/02/19 04:21:150B / 41B / 43B

AWK _

RankUserSizeTimeDateStatistics
1nn960.04992008/07/13 00:42:110B / 52B / 40B
2usa1310.05992007/02/21 19:38:110B / 56B / 75B

sed _

RankUserSizeTimeDateStatistics
1tails840.02352013/09/05 20:14:510B / 19B / 60B
2emoken940.04872008/02/11 01:38:110B / 19B / 71B
3tabasa1640.01892008/02/10 14:48:110B / 150B / 14B
4shinh1810.05812007/02/14 14:53:300B / ?B / ?B

jq _

RankUserSizeTimeDateStatistics
1clock640.02242015/02/11 18:43:160B / 27B / 35B

Bash _

RankUserSizeTimeDateStatistics
1mitchs130.22192015/09/19 02:18:492B / 2B / 7B
2leonid190.04132013/01/15 03:45:120B / ?B / ?B
3clock210.12292012/10/09 10:26:140B / ?B / ?B
4eban760.02322015/01/06 10:56:170B / 28B / 43B
5shinh870.24692007/05/15 14:53:150B / 29B / 50B
6Gus1080.16442007/05/15 15:40:280B / 47B / 39B

wake _

RankUserSizeTimeDateStatistics
1tails630.08842013/09/05 20:03:140B / 10B / 49B
2emoken650.01742010/07/20 23:28:450B / 10B / 51B

Postscript _

RankUserSizeTimeDateStatistics
1yshl(bin)1070.80832008/07/15 19:21:5249B / 41B / 17B
2yshl2070.75762008/07/15 19:21:590B / 153B / 20B

R _

RankUserSizeTimeDateStatistics
1NikNakk1590.27722014/07/04 17:52:180B / ?B / ?B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs1470.02192016/06/18 19:45:480B / 0B / 147B
2mitchs (cheat)1570.02852015/09/19 02:07:0330B / 107B / 18B
3nuko(cheat)2060.02622008/01/24 20:28:302B / 114B / 62B
4Mark Byers4460.02822007/02/27 06:44:430B / 0B / 446B
5flagitious4630.02152007/02/08 15:23:24?B / ?B / ?B

Befunge _

RankUserSizeTimeDateStatistics
1wiz3120.05112007/03/14 15:21:320B / ?B / ?B

GolfScript _

RankUserSizeTimeDateStatistics
1flagitious280.38952007/12/15 23:43:080B / 9B / 19B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs20.16882015/01/14 17:11:381B / 0B / 1B
2clock20.19552015/01/16 21:57:421B / 0B / 1B
3whio20.17282016/01/13 00:22:521B / 0B / 1B

Burlesque _

RankUserSizeTimeDateStatistics
1teebee110.02382014/09/17 06:45:510B / 10B / 1B
2clock110.02632015/01/13 21:11:130B / 10B / 1B

Unlambda _

RankUserSizeTimeDateStatistics
1hirose4120.06372007/10/18 19:31:030B / 148B / 264B
2irori9690.42962007/07/09 10:59:550B / 483B / 486B

Lazy-K _

RankUserSizeTimeDateStatistics
1rst766580.04012012/12/19 13:55:340B / 335B / 323B
2irori6730.33202008/03/15 10:19:010B / 343B / 330B

Universal Lambda _

RankUserSizeTimeDateStatistics
1hinoe320.06592009/03/12 23:12:2717B / 8B / 6B
2irori410.03232008/11/17 02:36:2329B / 10B / 2B
3flagitious580.05312008/11/14 04:47:5244B / 7B / 4B

z80 _

RankUserSizeTimeDateStatistics
1kodera460.21262008/01/06 23:42:1123B / 10B / 9B

Vim _

RankUserSizeTimeDateStatistics
1clock550.07962011/12/09 00:09:160B / 44B / 10B
2nn600.05672010/01/05 15:47:080B / 42B / 16B

goruby _

RankUserSizeTimeDateStatistics
1leonid70.28282008/02/08 10:57:440B / 5B / 1B
2flagitious70.27422008/02/11 04:16:350B / 5B / 1B
3tabasa70.28922008/02/12 06:58:590B / 5B / 1B
4narb70.11292010/11/27 01:30:350B / 5B / 1B
5nooodl70.06732011/11/01 18:17:080B / ?B / ?B
6david_werecat70.05142012/07/21 00:52:000B / ?B / ?B
7clock70.23402012/09/26 16:41:290B / 5B / 1B
8mitchs70.05752015/09/19 02:15:530B / 5B / 1B
9ludo70.05182016/06/05 02:09:420B / 5B / 1B

Groovy _

RankUserSizeTimeDateStatistics
1nn542.33012012/01/06 00:23:400B / 40B / 13B
2murky-satyr596.24682008/03/15 02:58:370B / 35B / 23B
3hoozie596.20772008/03/15 20:57:070B / 35B / 23B

Scala _

RankUserSizeTimeDateStatistics
1tarhashi376.99192012/06/04 10:53:130B / ?B / ?B
2Hendrik375.30472013/09/30 04:08:590B / 34B / 1B
3cignoir375.33472013/12/03 22:38:500B / 34B / 1B
4secon375.23802013/12/04 00:27:020B / 34B / 1B
5tim375.44162015/10/27 18:30:110B / 34B / 1B
6Lost_dog388.93382012/03/17 21:49:120B / 34B / 4B
7test385.37022015/10/27 18:09:200B / 34B / 4B
8murky-satyr8714.50062011/06/16 10:16:150B / 52B / 32B
9zakki9514.25882011/05/27 23:40:320B / 58B / 35B

Logo _

RankUserSizeTimeDateStatistics
1clock760.03022013/03/09 14:28:430B / 43B / 15B

Language Ranking_

RankLangUserSizeScore
1gs2mitchs210000
2gorubyleonid72857
3Burlesqueteebee111818
4Bashmitchs131538
5Jpooq191052
6Rubyleonid201000
7Perlleonid201000
8GolfScriptflagitious28714
9Ktwobit28714
10Universal Lambdahinoe32625
11Scalatarhashi37540
12Cleonid39512
13Ruby2nitsujri39512
14Pythonleonid42476
15z80kodera46434
16Groovynn54370
17Vimclock55363
18Haskellcojna59338
19Kiteleonid62322
20Arcyouz63317
21waketails63317
22jqclock64312
23Perl6murky-satyr66303
24Currym72277
25Python3Stephan W.72277
26Logoclock76263
27JavaScriptmurky-satyr78256
28Schemekaki78256
29Iconclock79253
30sedtails84238
31Clojuremurky-satyr85235
32Xtalmurky-satyr91219
33Smalltalkmurky-satyr94212
34Prologmskzzzz96208
35AWKnn96208
36PHPo-cn96208
37Luamurky-satyr97206
38Common LISPalice98204
39Postscriptyshl(bin)107186
40Tclclock109183
41Erlang51b114175
42Iomurky-satyr117170
43BASICpooq118169
44OCamlksk124161
45D51b125160
46C++7gyou127157
47Nemerlemurky-satyr134149
48Pascal*yuko*143139
49Fortran*yuko*146136
50Brainfuckmitchs147136
51RNikNakk159125
52C#siokoshou180111
53AdaD190105
54Gouru22389
55COBOL*yuko*26475
56Befungewiz31264
57Unlambdahirose41248
58Lazy-Krst7665830

Referer

Note that, they may contain spoilers.

return top