196 algorithm

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

p(i) is a function where you add a number to itself reversed until it is palindromic.

e.g.
7326 + 6237 = 13563,
13563 + 36531 = 50094,
50094 + 49005 = 99099,
so p(7326) = 99099.

print out p(1) to p(195).

more information:
http://www.p196.org/
http://mathworld.wolfram.com/196-Algorithm.html

Options

exec is denied

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

Sample input:_

*NOTHING*

Sample output:

1
2
3
4
5
6
7
8
9
11
11
33
44
55
66
77
88
99
121
22
33
22
55
66
77
88
99
121
121
33
44
55
33
77
88
99
121
121
363
44
55
66
77
44
99
121
121
363
484
55
66
77
88
99
55
121
363
484
1111
66
77
88
99
121
121
66
484
1111
4884
77
88
99
121
121
363
484
77
4884
44044
88
99
121
121
363
484
1111
4884
88
8813200023188
99
121
121
363
484
1111
4884
44044
8813200023188
99
101
101
303
404
505
606
707
808
909
1111
121
111
323
424
525
626
727
828
929
1331
141
121
343
444
545
646
747
848
949
1551
161
131
363
464
565
666
767
868
969
1771
181
141
383
484
585
686
787
888
989
1991
303
151
707
909
1111
4444
6666
8888
11011
1221
343
161
747
949
2662
4884
45254
88555588
13431
1441
383
171
787
989
5115
9559
44044
8836886388
15851
1661
747
181
45254
13431
2552
4774
6996
8813200023188
233332
1881
45254
191
6996
233332
2992
9339

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid540.06122008/09/08 02:17:571B / 28B / 22B
2ksk540.21972008/09/08 10:09:201B / 26B / 23B
3ozy4dm540.08962008/09/09 11:42:481B / 31B / 19B
4murky-satyr540.12602008/09/09 16:38:451B / 31B / 18B
5yowa540.07712008/09/11 08:28:041B / 28B / 22B
6primo540.05312008/09/17 19:12:081B / 31B / 19B
7eban550.00962008/09/10 15:58:161B / 30B / 21B
8mokos550.00032008/09/15 02:07:230B / ?B / ?B
9kt3k560.00032008/09/15 13:32:431B / 32B / 20B
10uru560.09812008/09/21 12:03:291B / ?B / ?B
11tabasa570.10812008/09/08 12:20:580B / ?B / ?B
12kaki570.12982008/09/20 11:42:531B / 32B / 22B
13shinh580.06902008/09/08 02:06:030B / 37B / 17B

Perl _

RankUserSizeTimeDateStatistics
1vandread480.05982008/09/17 20:33:070B / 24B / 24B
2Mithran480.14982008/09/17 23:43:010B / 24B / 24B
3shinh490.04352008/09/08 02:11:100B / 24B / 25B
4k12u490.05972008/09/14 04:52:270B / 31B / 16B
5primo500.00032008/09/16 21:08:140B / ?B / ?B
6ySas510.05002008/09/07 17:15:550B / 30B / 19B
7Ogu770.22982008/09/17 10:33:380B / ?B / ?B
8ninjalj480.00182011/02/16 05:01:210B / ?B / ?B
9jonathan camacho1420.00012014/07/30 09:46:170B / 58B / 43B

Python _

RankUserSizeTimeDateStatistics
1MarkByers722.49142008/09/15 09:31:530B / 33B / 36B
2kt3k720.12982008/09/15 12:11:490B / 41B / 29B
3recursive720.13982008/09/19 03:33:100B / 41B / 28B
4primo790.11232008/09/17 00:20:330B / 44B / 26B
5MarkByers710.10962008/10/02 07:19:540B / 35B / 33B

PHP _

RankUserSizeTimeDateStatistics
1murky-satyr690.15982008/11/23 04:48:420B / 34B / 34B
2pooq890.23002008/10/17 23:29:520B / 41B / 47B

Scheme _

RankUserSizeTimeDateStatistics
1murky-satyr1060.06772008/09/13 15:42:330B / 56B / 42B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima1030.27982008/09/08 14:58:460B / 52B / 46B

Arc _

RankUserSizeTimeDateStatistics
1murky-satyr823.55992009/10/30 01:19:250B / 42B / 32B

Io _

RankUserSizeTimeDateStatistics
1pooq860.07472012/11/12 00:31:250B / 62B / 21B

JavaScript _

RankUserSizeTimeDateStatistics
1murky-satyr710.14412008/09/08 15:17:550B / 32B / 38B
2nn720.10942008/09/09 23:36:060B / 36B / 36B

Lua _

RankUserSizeTimeDateStatistics
1murky-satyr730.12392008/09/08 17:08:350B / 47B / 18B
2sa1650.00022008/09/08 00:15:447B / ?B / ?B
3tehtmi (murky-satyr)700.01392018/07/29 05:17:340B / 47B / 17B

Smalltalk _

RankUserSizeTimeDateStatistics
1murky-satyr890.68562008/09/08 17:18:140B / 61B / 23B

Prolog _

RankUserSizeTimeDateStatistics
1pooq1210.19942008/09/20 08:25:220B / 69B / 47B

Forth _

RankUserSizeTimeDateStatistics
151b1470.25982008/09/19 20:13:330B / 92B / 16B

BASIC _

RankUserSizeTimeDateStatistics
1pooq1230.04992008/09/21 19:18:440B / 69B / 43B

Erlang _

RankUserSizeTimeDateStatistics
151b1620.46172008/09/19 20:22:030B / 94B / 64B

J _

RankUserSizeTimeDateStatistics
1pooq380.08522008/09/20 13:34:320B / 10B / 28B
2I., S.(cheat)310.05972011/03/06 22:31:040B / 7B / 24B

C _

RankUserSizeTimeDateStatistics
151b1000.00032008/09/18 16:51:380B / 54B / 44B
2ozy4dm1050.03682008/09/09 19:04:560B / 55B / 48B

D _

RankUserSizeTimeDateStatistics
151b1010.02182008/09/18 16:57:320B / 55B / 43B

OCaml _

RankUserSizeTimeDateStatistics
1ksk1640.09932009/08/15 15:55:450B / 100B / 46B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa700.03382008/09/08 20:18:120B / ?B / ?B
2moriA700.07152008/09/10 00:26:430B / 45B / 18B
3fox820.20322008/09/07 22:04:120B / 48B / 27B
4tttaki990.00032008/10/27 00:12:370B / ?B / ?B

Java _

RankUserSizeTimeDateStatistics
1teebee1170.06462011/12/19 10:05:130B / 68B / 47B
2Roy van Rijn1590.24802009/02/02 22:20:330B / 98B / 55B

Pascal _

RankUserSizeTimeDateStatistics
1uru1480.00012009/12/30 03:25:410B / 99B / 36B

C# _

RankUserSizeTimeDateStatistics
1ozy4dm1400.25982008/09/10 07:51:400B / 89B / 47B
2ASAQ1490.25162008/09/17 22:58:130B / ?B / ?B
3Paul1850.30922008/09/10 05:40:150B / ?B / ?B
4Hex1850.27972008/09/11 07:28:030B / ?B / ?B
5_1950.30152008/09/09 13:51:310B / ?B / ?B
6test1890.31182008/10/03 15:51:272B / ?B / ?B

Maxima _

RankUserSizeTimeDateStatistics
1pooq940.68982009/08/09 12:44:240B / 57B / 35B

Asymptote _

RankUserSizeTimeDateStatistics
1teebee870.12552011/12/19 09:44:410B / 52B / 33B
2chocobi1201.27992009/04/01 22:47:270B / 78B / 38B

AWK _

RankUserSizeTimeDateStatistics
1nn830.04282008/09/12 11:46:530B / ?B / ?B
2ozy4dm900.05002008/09/10 16:55:530B / 47B / 43B
3teebee(nn)760.01272014/07/31 05:54:440B / 40B / 35B
4nn790.06982008/09/21 16:58:570B / 41B / 36B

sed _

RankUserSizeTimeDateStatistics
1GeoJ3360.60302008/09/09 23:47:320B / 163B / 140B

Bash _

RankUserSizeTimeDateStatistics
1tails (51b @C)791.41762018/07/30 16:47:270B / 35B / 38B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails770.04132018/08/23 16:00:190B / 37B / 35B
2tails (51b @C)811.07462018/07/30 16:53:200B / 36B / 39B
3tails (51b @C, for)820.04712018/07/30 17:13:340B / 39B / 37B

xgawk _

RankUserSizeTimeDateStatistics
1llhuii(nn)670.01492014/07/31 20:46:000B / 33B / 33B

Postscript _

RankUserSizeTimeDateStatistics
1MarkByers970.71952008/09/21 08:50:2841B / 37B / 17B
2yshl(bin)1010.42982008/09/18 19:14:4851B / 24B / 25B
3ySas1120.40972008/09/11 10:48:2150B / 27B / 33B
4MarkByers (nobin)1650.41972008/09/21 08:51:130B / 125B / 15B
5yshl1760.42832008/09/17 16:05:180B / 131B / 16B
6MarkByers962.53682008/09/21 17:15:2841B / 36B / 17B
7MarkByers (nobin)1640.60022008/10/02 07:06:050B / 124B / 16B

GolfScript _

RankUserSizeTimeDateStatistics
1flagitious250.64982008/09/09 23:03:590B / 8B / 17B
2irori320.59312008/09/07 15:38:000B / 13B / 19B

gs2 _

RankUserSizeTimeDateStatistics
1tails (nooodl)211.16722017/01/20 19:08:356B / 9B / 4B
2whio211.12022017/03/10 07:16:167B / 8B / 4B
3nooodl231.69312014/10/08 22:45:178B / ?B / ?B

FlogScript _

RankUserSizeTimeDateStatistics
1milieu240.71632010/11/11 20:07:310B / ?B / ?B
2zzo38250.42832010/03/22 10:24:390B / ?B / ?B

Lazy-K _

RankUserSizeTimeDateStatistics
1irori17690.62982008/09/07 17:49:480B / 900B / 869B

D-compile-time _

RankUserSizeTimeDateStatistics
151b3402.82372008/09/17 16:42:110B / 226B / 94B
251b2820.39812009/11/22 17:48:320B / 186B / 76B

goruby _

RankUserSizeTimeDateStatistics
1murky-satyr450.29092008/09/09 16:40:400B / 26B / 15B

Groovy _

RankUserSizeTimeDateStatistics
1murky-satyr634.93992008/09/10 14:32:280B / 35B / 26B
2nn684.81982008/09/09 23:57:590B / 35B / 31B
3murky-satyr621.28032009/11/29 07:37:350B / 35B / 23B

Logo _

RankUserSizeTimeDateStatistics
1teebee520.13122011/03/21 11:43:380B / 35B / 13B

Language Ranking_

RankLangUserSizeScore
1gs2tails (nooodl)2110000
2FlogScriptmilieu248750
3GolfScriptflagitious258400
4JI., S.(cheat)316774
5gorubymurky-satyr454666
6Perlvandread484375
7Logoteebee524038
8Rubyleonid543888
9Groovymurky-satyr623387
10xgawkllhuii(nn)673134
11PHPmurky-satyr693043
12Haskellnotogawa703000
13Luatehtmi (murky-satyr)703000
14JavaScriptmurky-satyr712957
15PythonMarkByers712957
16AWKteebee(nn)762763
17Bash (builtins)tails772727
18Bashtails (51b @C)792658
19Arcmurky-satyr822560
20Iopooq862441
21Asymptoteteebee872413
22Smalltalkmurky-satyr892359
23Maximapooq942234
24PostscriptMarkByers962187
25C51b1002100
26D51b1012079
27Common LISPkozima1032038
28Schememurky-satyr1061981
29Javateebee1171794
30Prologpooq1211735
31BASICpooq1231707
32C#ozy4dm1401500
33Forth51b1471428
34Pascaluru1481418
35Erlang51b1621296
36OCamlksk1641280
37D-compile-time51b282744
38sedGeoJ336625
39Lazy-Kirori1769118

return to the top page