PalindromemordnilaP

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

Given an alphanumeric string, append minimum number of characters to get a palindrome and output the result.

For example, on input Palindromemord, output PalindromemordnilaP.

Note: all inputs will be one character maximum.

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
d
i
a
j
d
o
e
a
p
q
d
g
w
3
g
z
c
g
w
a
q
g
2
b
n
h
s
f
p
e
g
a
u
v
w
x
y
z

Sample output:

a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
d
i
a
j
d
o
e
a
p
q
d
g
w
3
g
z
c
g
w
a
q
g
2
b
n
h
s
f
p
e
g
a
u
v
w
x
y
z

Ranking

Perl _

RankUserSizeTimeDateStatistics
1Sisyphus70.01982024/09/02 20:35:380B / 5B / 2B
2lynn70.01502024/09/02 22:22:080B / 5B / 2B
3Steffan70.01512024/09/03 02:20:220B / 5B / 2B
4fuzzylojik70.01492024/09/03 21:13:040B / 5B / 2B
5McBusLuck70.01892024/09/06 22:46:150B / 5B / 2B
6ovs90.04032024/09/02 17:54:500B / 5B / 3B
7fuzzylojik(alpha)140.01492024/09/11 01:30:520B / 13B / 0B

Python3 _

RankUserSizeTimeDateStatistics
1xnor210.15852024/09/02 10:26:290B / 14B / 7B
2Sisyphus210.04922024/09/02 10:42:220B / 14B / 7B
3orthoplex210.04682024/09/02 19:35:380B / 14B / 7B
4lynn210.04732024/09/02 20:25:300B / 14B / 7B
5Steffan210.06632024/09/03 02:20:450B / 14B / 7B
6fuzzylojik210.05232024/09/03 21:14:370B / 14B / 7B

PHP _

RankUserSizeTimeDateStatistics
1fuzzylojik200.02642024/09/13 05:24:390B / 13B / 7B
2sean200.02492024/09/13 08:38:540B / 13B / 7B

JavaScript _

RankUserSizeTimeDateStatistics
1KrausRaus270.09582024/09/02 08:47:320B / 18B / 9B
2sean270.02602024/09/02 10:36:500B / 17B / 10B
3Sisyphus270.02412024/09/02 20:20:400B / 20B / 7B
4fuzzylojik270.09382024/09/03 21:15:140B / 18B / 9B
5fuzzylojik(alt)270.02142024/09/11 01:27:540B / 16B / 11B
6fuzzylojik(alt2)270.02192024/09/11 01:28:050B / 17B / 10B
7#c0ffee270.02182024/09/25 08:26:250B / ?B / ?B

Lua _

RankUserSizeTimeDateStatistics
1fuzzylojik180.02852024/09/13 05:22:120B / 12B / 6B
2sean180.01452024/09/13 08:37:570B / 12B / 6B

Perl6 _

RankUserSizeTimeDateStatistics
1Fleur92.23472024/09/02 10:00:080B / 8B / 0B

J _

RankUserSizeTimeDateStatistics
14hg90.08032024/09/03 00:24:580B / 5B / 3B

C _

RankUserSizeTimeDateStatistics
1sean160.01382024/09/02 09:33:570B / 9B / 7B
2fuzzylojik160.01462024/09/03 21:12:400B / 9B / 7B
3McBusLuck160.01462024/09/06 22:40:520B / 9B / 7B

Go _

RankUserSizeTimeDateStatistics
1sean680.01292024/09/11 06:12:550B / 47B / 17B

Rust _

RankUserSizeTimeDateStatistics
1sean590.01482024/09/11 05:56:040B / 35B / 20B

Haskell _

RankUserSizeTimeDateStatistics
1xnor160.01892024/09/02 10:25:060B / 14B / 1B
2lynn160.01742024/09/02 20:25:100B / 14B / 1B
3maddy!160.02902024/09/11 20:08:340B / 14B / 1B

Java _

RankUserSizeTimeDateStatistics
1sean840.06512024/09/03 21:13:040B / 49B / 32B
2rotary-o840.08222024/09/11 01:02:010B / 52B / 29B

Pascal _

RankUserSizeTimeDateStatistics
1sean600.01542024/09/11 07:14:070B / 47B / 8B

C# _

RankUserSizeTimeDateStatistics
1sean780.03812024/09/11 06:30:410B / 57B / 17B
2fuzzylojik780.03842024/09/13 05:29:340B / 57B / 17B

AWK _

RankUserSizeTimeDateStatistics
1Fleur10.01892024/09/02 08:12:030B / 1B / 0B
2sean10.01432024/09/02 08:18:190B / 1B / 0B
3Shanethegamer10.01382024/09/03 14:43:290B / 1B / 0B
4McBusLuck10.01392024/09/06 19:25:390B / 1B / 0B
5fuzzylojik10.01372024/09/11 01:32:500B / 1B / 0B

sed _

RankUserSizeTimeDateStatistics
1sean10.01432024/09/02 10:42:010B / 0B / 0B
2lynn10.01462024/09/02 20:23:090B / 0B / 1B
3McBusLuck10.01422024/09/06 19:35:330B / 1B / 0B
4fuzzylojik10.01472024/09/11 01:33:030B / 0B / 0B

jq _

RankUserSizeTimeDateStatistics
1lynn10.02052024/09/02 20:23:470B / 0B / 1B
2Steffan10.01652024/09/03 02:20:320B / 0B / 1B
3Shanethegamer10.01452024/09/03 14:42:020B / 0B / 1B
4McBusLuck10.02562024/09/06 19:39:440B / 0B / 1B

jq 1.6 _

RankUserSizeTimeDateStatistics
1lynn10.03062024/09/02 20:23:530B / 0B / 1B
2Shanethegamer10.01832024/09/03 14:42:300B / 0B / 1B
3McBusLuck10.03032024/09/06 19:39:530B / 0B / 1B

Bash _

RankUserSizeTimeDateStatistics
1sean20.00592024/09/02 08:17:420B / 2B / 0B
2orthoplex20.00672024/09/02 19:33:310B / 2B / 0B
3lynn20.00632024/09/02 20:22:290B / 2B / 0B
4Fleur20.01912024/09/03 07:56:310B / 2B / 0B
5McBusLuck20.00852024/09/06 19:25:490B / 2B / 0B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1McBusLuck200.01632024/09/06 19:29:090B / 12B / 4B

Zsh _

RankUserSizeTimeDateStatistics
1McBusLuck20.03022024/09/07 15:49:310B / 2B / 0B

Fish _

RankUserSizeTimeDateStatistics
1McBusLuck20.03422024/09/07 15:49:440B / 2B / 0B

dc _

RankUserSizeTimeDateStatistics
1#c0ffee1180.01522024/09/26 09:32:130B / ?B / ?B

xgawk _

RankUserSizeTimeDateStatistics
1McBusLuck10.02282024/09/06 19:25:300B / 1B / 0B
2fuzzylojik10.02432024/09/11 01:32:560B / 1B / 0B

Brainfuck _

RankUserSizeTimeDateStatistics
1sean80.01402024/09/02 09:14:170B / 0B / 8B
2Kacarott80.01392024/09/02 22:56:560B / ?B / ?B
3McBusLuck80.01052024/09/06 19:33:420B / ?B / ?B
4#c0ffee80.01782024/09/17 16:39:170B / ?B / ?B

Hexagony _

RankUserSizeTimeDateStatistics
1McBusLuck50.03942024/09/06 22:35:520B / 0B / 5B
2Sisyphus60.03192024/09/06 21:11:590B / 0B / 6B

GolfScript _

RankUserSizeTimeDateStatistics
1lynn10.02802024/09/02 20:20:000B / 0B / 1B
2nadan10.02572024/09/11 20:42:010B / 1B / 0B

gs2 _

RankUserSizeTimeDateStatistics
1lynn10.06922024/09/02 20:21:260B / 1B / 0B
2whio10.08242024/09/03 10:37:390B / 1B / 0B
3McBusLuck10.06712024/09/06 19:39:240B / 1B / 0B

Nibbles _

RankUserSizeTimeDateStatistics
1lynn10.01852024/09/02 20:34:260B / 1B / 0B
2McBusLuck10.01842024/09/06 19:54:440B / 1B / 0B
3whio10.02242024/09/06 22:30:310B / 1B / 0B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik10.08792024/09/02 16:54:410B / 1B / 0B
2lynn10.01552024/09/02 20:21:590B / 1B / 0B
3McBusLuck10.01792024/09/06 19:38:310B / 1B / 0B

Lazy-K _

RankUserSizeTimeDateStatistics
1tails10.01712024/09/02 12:06:410B / 0B / 0B
2lynn10.01532024/09/02 20:23:380B / 1B / 0B
3Shanethegamer10.01552024/09/03 14:43:000B / 1B / 0B
4McBusLuck10.01852024/09/06 19:35:430B / 1B / 0B

Universal Lambda _

RankUserSizeTimeDateStatistics
1lynn10.05202024/09/02 20:20:200B / 0B / 0B
2McBusLuck10.04812024/09/06 19:38:580B / 0B / 0B

z80 _

RankUserSizeTimeDateStatistics
1sean70.06112024/09/02 20:52:205B / 2B / 0B
2McBusLuck70.05482024/09/06 20:05:055B / 2B / 0B

Vim _

RankUserSizeTimeDateStatistics
1lynn10.06862024/09/02 20:23:230B / 0B / 0B
2McBusLuck10.08372024/09/06 19:39:350B / 1B / 0B

Language Ranking_

RankLangUserSizeScore
1AWKFleur110000
2sedsean110000
3Lazy-Ktails110000
4BurlesqueHendrik110000
5GolfScriptlynn110000
6Universal Lambdalynn110000
7gs2lynn110000
8Vimlynn110000
9jqlynn110000
10jq 1.6lynn110000
11Nibbleslynn110000
12xgawkMcBusLuck110000
13Bashsean25000
14ZshMcBusLuck25000
15FishMcBusLuck25000
16HexagonyMcBusLuck52000
17PerlSisyphus71428
18z80sean71428
19Brainfucksean81250
20Perl6Fleur91111
21J4hg91111
22Csean16625
23Haskellxnor16625
24Luafuzzylojik18555
25Bash (builtins)McBusLuck20500
26PHPfuzzylojik20500
27Python3xnor21476
28JavaScriptKrausRaus27370
29Rustsean59169
30Pascalsean60166
31Gosean68147
32C#sean78128
33Javasean84119
34dc#c0ffee11884

return to the top page