palindromize

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 each line palindromic by appending a minimum string to the tail.

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

test
NISIOISIN
testt
saippuak
testsests

Sample output:

testset
NISIOISIN
testtset
saippuakauppias
testsestset

Sample input:_

gaattcctgggcctggggctgtggcagctgcctcgtccct
tcacctcctggcttattctctccctccatatcttagcaat
ctcatgcctgtaatcccagcattttggtaggccaaggcgg
gtcggatcacctgaggtcaggagttcgagggccagcctga
tgaccatggtgaaaccccatctctactaaaaatacaaaat
taatcgggcatggtggcacatgcctgtaatcccagctact
ctgaggcaggagaatcgcttaaacccaggaagtggaggtt
tcagtgagctgagattgtgccattgcactccagcctgggt
aacaagagcaaaactccatcaaaaaaaataatatatgtat
atatatattacaattttatatatatatacacattatgtaa
taccattttatatatatacattacgtaatggtaaatgttt
gatcgtctccctggagaataatccccaatgtgaaattact
ctaagtggtgggattacaggcgtgtgcccaacttttcctg
agccttttgaggctgacaccagaggtagaagcccagcctc
tccccactggccatgtggggagaggctccagcctgcagca
accagggatctggcctcaagtgatgccccaacagtgggcg

Sample output:

gaattcctgggcctggggctgtggcagctgcctcgtccctgctccgtcgacggtgtcggggtccgggtccttaag
tcacctcctggcttattctctccctccatatcttagcaataacgattctatacctccctctcttattcggtcctccact
ctcatgcctgtaatcccagcattttggtaggccaaggcggaaccggatggttttacgaccctaatgtccgtactc
gtcggatcacctgaggtcaggagttcgagggccagcctgagtccgaccgggagcttgaggactggagtccactaggctg
tgaccatggtgaaaccccatctctactaaaaatacaaaataaaacataaaaatcatctctaccccaaagtggtaccagt
taatcgggcatggtggcacatgcctgtaatcccagctactcatcgaccctaatgtccgtacacggtggtacgggctaat
ctgaggcaggagaatcgcttaaacccaggaagtggaggttggaggtgaaggacccaaattcgctaagaggacggagtc
tcagtgagctgagattgtgccattgcactccagcctgggtccgacctcacgttaccgtgttagagtcgagtgact
aacaagagcaaaactccatcaaaaaaaataatatatgtatataataaaaaaaactacctcaaaacgagaacaa
atatatattacaattttatatatatatacacattatgtaatgtattacacatatatatatattttaacattatatata
taccattttatatatatacattacgtaatggtaaatgtttgtaaatggtaatgcattacatatatatattttaccat
gatcgtctccctggagaataatccccaatgtgaaattactcattaaagtgtaacccctaataagaggtccctctgctag
ctaagtggtgggattacaggcgtgtgcccaacttttcctgtccttttcaacccgtgtgcggacattagggtggtgaatc
agccttttgaggctgacaccagaggtagaagcccagcctccgacccgaagatggagaccacagtcggagttttccga
tccccactggccatgtggggagaggctccagcctgcagcacgacgtccgacctcggagaggggtgtaccggtcacccct
accagggatctggcctcaagtgatgccccaacagtgggcgggtgacaaccccgtagtgaactccggtctagggacca

Sample input:_

1001110010001111110101011101101110010100
1100111011000100110110010000011011100111
1000100001000001010101101000010110000011
0000000000111111000100100001011010100011
0011011000001111001010010001001011101111
0010110110101011100100010011000000010000
1101011110010100001000111001000100011001
0011001010001001001110100000101001001101
1110110100001001100110001010101001100100
1110001011101110110000110100011011100001

Sample output:

1001110010001111110101011101101110010100111011011101010111111000100111001
110011101100010011011001000001101110011101100000100110110010001101110011
10001000010000010101011010000101100000110100001011010101000001000010001
000000000011111100010010000101101010001100010101101000010010001111110000000000
0011011000001111001010010001001011101111011101001000100101001111000001101100
00101101101010111001000100110000000100000001100100010011101010110110100
1101011110010100001000111001000100011001100010001001110001000010100111101011
00110010100010010011101000001010010011011001001010000010111001001000101001100
111011010000100110011000101010100110010011001010101000110011001000010110111
11100010111011101100001101000110111000011101100010110000110111011101000111

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1jpl460.04382014/05/26 22:24:230B / ?B / ?B
2shinh470.23842007/03/08 12:19:570B / 18B / 25B
3leonid470.18852008/11/05 01:33:590B / 18B / 24B
4clock470.07322012/04/11 10:10:140B / 18B / 24B
5Histocrat470.03752013/02/05 07:46:320B / ?B / ?B
6yowa500.14422007/09/08 20:20:560B / 19B / 29B
7flagitious500.18612007/09/12 00:00:220B / 21B / 27B
8tpope710.27022007/03/08 05:17:000B / 42B / 28B
9mskzzzz720.25552007/04/09 21:41:540B / 41B / 24B
10tabasa1190.13502007/12/23 05:49:577B / 65B / 28B

Perl _

RankUserSizeTimeDateStatistics
1mitchs370.03982016/06/14 21:13:160B / 18B / 17B
2llhuii370.05662016/06/15 00:21:380B / 18B / 17B
3tails370.03412016/06/16 01:26:350B / 18B / 17B
4shinh380.11422007/03/08 14:31:100B / 16B / 20B
5ySas380.30112007/03/08 22:08:020B / 18B / 18B
6leonid380.10472008/11/05 01:40:450B / 18B / 18B
7nai380.03152011/02/06 02:25:120B / 18B / 18B
8clock380.03852012/10/09 03:26:200B / 18B / 18B
9brx380.03492014/05/30 22:56:310B / 18B / 18B
10Mithran610.58712007/03/19 13:00:210B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1leonid710.31282011/09/09 13:02:550B / ?B / ?B
2llhuii710.19922016/01/26 21:12:440B / ?B / ?B
3Defenestrator740.35482007/04/14 15:49:450B / 39B / 26B
4mskzzzz740.31112007/04/22 20:13:150B / 39B / 26B
5hallvabo740.20242008/12/29 00:26:060B / 41B / 31B
6twobit740.07752011/05/25 01:54:250B / 39B / 26B
7clock740.10262013/03/03 20:33:280B / 39B / 26B
8xsot740.09632015/06/11 11:29:130B / 39B / 26B
9shimizu810.49402007/03/08 06:40:040B / ?B / ?B
10kt3k810.18172008/09/07 16:13:210B / 43B / 30B
11rolf810.08832013/10/10 06:48:210B / 39B / 33B
12Mark Byers910.34302007/03/08 07:27:380B / 48B / 31B
13SeeNoEvil1030.38332007/03/08 08:07:250B / 52B / 39B
14JJeep1220.03552010/03/19 19:14:375B / ?B / ?B

Python3 _

RankUserSizeTimeDateStatistics
1xsot690.24302016/03/03 13:26:490B / 35B / 26B

PHP _

RankUserSizeTimeDateStatistics
1clock810.08972012/02/08 02:27:061B / 39B / 39B
2mskzzzz930.51152007/06/14 19:25:230B / 42B / 50B

Scheme _

RankUserSizeTimeDateStatistics
1kaki1200.11782011/11/07 11:27:140B / 68B / 44B
2ma1360.74572007/03/09 16:45:240B / ?B / ?B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima1150.66432010/03/19 18:44:540B / 65B / 44B
2ttmh1150.10692015/06/09 15:11:060B / 66B / 44B
3shimizu1220.67042007/03/08 06:28:420B / ?B / ?B

Arc _

RankUserSizeTimeDateStatistics
1murky-satyr953.57762009/11/30 06:35:390B / 55B / 34B

Io _

RankUserSizeTimeDateStatistics
1clock1070.22882015/02/23 01:59:280B / 77B / 25B
2murky-satyr1162.64842008/03/08 00:45:450B / 87B / 24B

JavaScript _

RankUserSizeTimeDateStatistics
1clock810.06362012/10/09 03:31:170B / 42B / 37B
20mg860.17702012/07/06 15:58:300B / 43B / 40B
3murky-satyr950.94492008/11/02 07:54:440B / 44B / 50B
4nn960.14622008/10/30 14:07:560B / 45B / 51B

Lua _

RankUserSizeTimeDateStatistics
1clock740.03582012/07/08 18:05:150B / 39B / 33B
2twobit840.03742013/02/15 22:50:150B / 40B / 43B
3murky-satyr960.04182009/11/30 06:09:300B / 61B / 27B

Tcl _

RankUserSizeTimeDateStatistics
1clock711.28792012/08/27 12:35:010B / 42B / 19B
2murky-satyr2430.13142008/07/12 07:51:557B / 123B / 62B

SNOBOL _

RankUserSizeTimeDateStatistics
1clock860.03952012/07/21 12:45:440B / 42B / 22B

Icon _

RankUserSizeTimeDateStatistics
1clock920.05782012/04/14 23:59:060B / 58B / 30B

REXX _

RankUserSizeTimeDateStatistics
1clock1060.02652012/11/14 13:55:540B / 69B / 25B

Smalltalk _

RankUserSizeTimeDateStatistics
1murky-satyr780.52222008/07/21 08:09:460B / 44B / 30B

Prolog _

RankUserSizeTimeDateStatistics
1mskzzzz1380.44782007/06/06 03:33:310B / 87B / 51B

BASIC _

RankUserSizeTimeDateStatistics
1pooq1500.07862007/09/08 22:39:220B / 85B / 54B

Erlang _

RankUserSizeTimeDateStatistics
151b1540.95232008/02/02 06:12:090B / 77B / 68B

J _

RankUserSizeTimeDateStatistics
1I., S.360.12842011/11/08 23:36:390B / 7B / 29B
2pooq520.53852009/06/08 21:33:170B / 15B / 35B
3random710.08532013/02/25 22:48:120B / ?B / ?B

K _

RankUserSizeTimeDateStatistics
1clock300.04252013/04/13 01:55:190B / 7B / 23B

C _

RankUserSizeTimeDateStatistics
1hinoe1080.04552008/01/05 06:29:540B / 55B / 53B
251b1280.04002007/10/04 19:15:200B / 70B / 58B
3tanzaku1410.06562007/04/05 17:25:490B / 77B / 63B

D _

RankUserSizeTimeDateStatistics
151b1340.06252007/11/05 10:32:490B / 84B / 46B

OCaml _

RankUserSizeTimeDateStatistics
1ksk1450.27642007/03/11 01:56:440B / 86B / 45B
2m.ukai1910.27972007/03/09 18:30:560B / 121B / 47B

Haskell _

RankUserSizeTimeDateStatistics
1.[1..100]>>=pen670.00382010/03/18 23:14:110B / ?B / ?B
2rst76670.00382010/03/19 21:14:280B / 41B / 21B
3notogawa670.01372010/03/26 22:27:540B / 41B / 21B
4koyama41670.00672011/09/22 00:11:330B / 41B / 21B
5henkma670.00692011/10/07 23:49:530B / 41B / 22B
6moriA700.13082007/03/28 22:54:430B / 42B / 24B
7pi8027800.00362010/03/12 02:27:142B / 45B / 28B
8Icewing890.04092011/06/12 00:42:550B / 51B / 32B
9tanakh930.11312007/03/08 05:26:280B / ?B / ?B
10konn1140.13082007/03/08 13:56:150B / 81B / 18B
11yy1800.03642012/07/17 19:56:414B / ?B / ?B
12wa3140.10232012/07/17 19:27:348B / ?B / ?B

Ada _

RankUserSizeTimeDateStatistics
1D1860.24802007/03/20 15:05:280B / 132B / 47B
2yt2300.12822007/03/20 14:13:250B / ?B / ?B

Pascal _

RankUserSizeTimeDateStatistics
1*yuko*1570.01032011/03/30 00:38:555B / 81B / 65B
2uru2100.05362009/07/11 22:20:520B / 137B / 55B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*1500.00282011/03/30 00:34:384B / 92B / 51B

COBOL _

RankUserSizeTimeDateStatistics
1*yuko*2980.04102011/11/06 00:08:204B / 212B / 51B

REBOL _

RankUserSizeTimeDateStatistics
1clock900.08572012/07/21 12:58:290B / 63B / 14B

AWK _

RankUserSizeTimeDateStatistics
1llhuii650.03662014/05/27 00:26:110B / 27B / 38B
2nn740.03422008/07/13 01:18:480B / 30B / 44B
3usa980.21982007/03/08 17:28:020B / 49B / 48B

sed _

RankUserSizeTimeDateStatistics
1mitchs490.15442016/06/12 06:48:540B / 7B / 37B
2clock550.17882012/01/15 23:40:000B / 12B / 36B
3%20560.04252016/06/12 06:26:330B / 15B / 35B
4shinh570.23732007/03/08 12:24:360B / 14B / 36B
5emoken570.27272007/03/10 00:26:500B / 8B / 44B
6kanitawa690.04492014/10/14 15:10:410B / ?B / ?B

jq _

RankUserSizeTimeDateStatistics
1clock680.16862015/02/11 17:15:390B / 39B / 28B

Bash _

RankUserSizeTimeDateStatistics
1narb420.08082010/10/30 00:10:470B / ?B / ?B

wake _

RankUserSizeTimeDateStatistics
1murky-satyr700.02162010/07/31 02:09:280B / 10B / 57B
2emoken700.04642010/08/08 15:29:030B / 10B / 57B

xgawk _

RankUserSizeTimeDateStatistics
1llhuii650.04622014/05/27 00:30:190B / 27B / 38B

Postscript _

RankUserSizeTimeDateStatistics
1yshl(bin)1010.55292007/11/05 11:19:5451B / 34B / 16B
2ySas1360.88022007/05/15 11:17:0846B / 53B / 31B
3yshl2140.52542007/11/05 11:19:340B / 163B / 15B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs (cheat)1550.09382015/10/04 17:09:5632B / 9B / 110B
2mitchs2070.66262016/06/15 15:57:140B / 0B / 207B

GolfScript _

RankUserSizeTimeDateStatistics
1narb250.25752010/10/30 00:05:210B / ?B / ?B
2clock270.24152012/06/13 22:35:510B / 6B / 21B
3flagitious290.60872008/01/01 15:29:210B / 7B / 22B
4irori310.44232008/02/25 01:09:330B / 8B / 23B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs120.29552015/04/23 15:50:124B / 4B / 2B
2whio120.31632017/02/08 04:37:524B / 4B / 2B

FlogScript _

RankUserSizeTimeDateStatistics
1clock270.18242012/06/15 02:31:220B / 6B / 20B

Burlesque _

RankUserSizeTimeDateStatistics
1clock300.04182012/09/16 05:59:390B / 8B / 22B

Universal Lambda _

RankUserSizeTimeDateStatistics
1hinoe880.57622009/03/12 23:11:3462B / 10B / 13B

z80 _

RankUserSizeTimeDateStatistics
1kodera370.09322008/01/22 18:16:3522B / 6B / 3B
2hiro.suzuki380.07302007/12/18 23:37:5821B / 6B / 7B
3ySas451.31912007/12/17 11:28:3432B / 5B / 5B

Vim _

RankUserSizeTimeDateStatistics
1clock390.19012012/01/16 01:41:212B / 23B / 11B

goruby _

RankUserSizeTimeDateStatistics
1clock400.13272012/06/09 04:26:180B / 11B / 27B
2leonid410.56922008/11/05 02:34:230B / 13B / 26B
3murky-satyr490.37912008/09/12 22:14:400B / 17B / 29B

Groovy _

RankUserSizeTimeDateStatistics
1clock603.70662012/06/09 03:56:440B / 37B / 22B
2murky-satyr693.53072009/11/30 06:01:130B / 42B / 24B
3nn706.38602011/02/12 00:30:300B / 43B / 26B

Scala _

RankUserSizeTimeDateStatistics
1murky-satyr977.83642012/06/26 12:53:520B / 59B / 31B
2tarhashi10910.98952012/06/26 12:43:430B / ?B / ?B

Logo _

RankUserSizeTimeDateStatistics
1clock1060.25262013/02/17 12:10:240B / 73B / 14B

Language Ranking_

RankLangUserSizeScore
1gs2mitchs1210000
2GolfScriptnarb254800
3FlogScriptclock274444
4Burlesqueclock304000
5Kclock304000
6JI., S.363333
7z80kodera373243
8Perlmitchs373243
9Vimclock393076
10gorubyclock403000
11Bashnarb422857
12Rubyjpl462608
13sedmitchs492448
14Groovyclock602000
15AWKllhuii651846
16xgawkllhuii651846
17Haskell.[1..100]>>=pen671791
18jqclock681764
19Python3xsot691739
20wakemurky-satyr701714
21Pythonleonid711690
22Tclclock711690
23Luaclock741621
24Smalltalkmurky-satyr781538
25PHPclock811481
26JavaScriptclock811481
27SNOBOLclock861395
28Universal Lambdahinoe881363
29REBOLclock901333
30Iconclock921304
31Arcmurky-satyr951263
32Scalamurky-satyr971237
33Postscriptyshl(bin)1011188
34REXXclock1061132
35Logoclock1061132
36Ioclock1071121
37Chinoe1081111
38Common LISPkozima1151043
39Schemekaki1201000
40D51b134895
41Prologmskzzzz138869
42OCamlksk145827
43BASICpooq150800
44Fortran*yuko*150800
45Erlang51b154779
46Brainfuckmitchs (cheat)155774
47Pascal*yuko*157764
48AdaD186645
49COBOL*yuko*298402

Referer

Note that, they may contain spoilers.

return top