reversed squares FIXED

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

Take all the positive integers, square them, reverse the results (discarding leading zeros), discard any duplicates, then sort them. Print the first 300 members of this set.

(Fixed: previous output was incorrect)

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

*NOTHING*

Sample output:

1
4
9
18
46
52
61
63
94
121
144
148
163
169
423
441
484
487
522
526
652
675
676
691
925
927
961
982
1042
1062
1089
1251
1273
1297
1405
1426
1656
1674
1828
1843
1861
4032
4069
4072
4201
4264
4276
4441
4477
4483
4633
4648
4671
4806
4815
5202
5203
5209
5221
5224
5227
5265
6112
6129
6192
6313
6388
6391
6507
6511
6534
6745
6775
6904
6921
6937
9022
9049
9082
9235
9295
9423
9468
9481
9631
9657
9693
9801
9844
9886
10026
10036
10201
10222
10404
10498
10609
10693
10822
12175
12186
12321
12391
12538
12544
12753
12769
12952
14023
14292
14425
14437
14641
14661
14877
14884
16141
16171
16327
16335
16582
16723
16974
16987
18076
18085
18252
18459
18463
18634
18648
18811
18891
40132
40219
40293
40401
40516
40536
40804
40888
40912
42133
42282
42471
42574
42597
42817
42835
42931
44091
44262
44353
44379
44521
44665
44686
44928
44944
46102
46234
46258
46566
46585
46611
46849
46863
46942
48277
48294
48361
48592
48613
48841
48915
48937
52006
52011
52012
52024
52039
52042
52056
52078
52083
52207
52218
52231
52243
52255
52264
52272
52281
52299
52603
52605
52651
52657
61312
61429
61483
61506
61546
61614
61678
61732
61801
63211
63342
63424
63468
63556
63595
63639
63673
63702
65431
65572
65608
65664
65707
65745
65833
65899
65971
67015
67057
67105
67167
67203
67351
67851
67903
69481
69543
69589
69655
69696
69718
69754
69862
69921
90016
90046
90214
90288
90432
90601
90612
90819
90883
92151
92161
92313
92515
92547
92767
92794
92992
94066
94095
94249
94273
94402
94411
94642
94824
94858
96165
96196
96328
96354
96562
96721
96781
96943
96979
98008
98074
98217
98245
98433
98631
98671
98872
100152
100165
100465
100899
100942
102124
102163
102321
102427
102808
102951
104103
104194
104302
104409

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1Histocrat470.42882015/05/07 04:10:120B / 22B / 23B
2clock550.01282012/10/20 11:56:130B / 29B / 25B

Perl _

RankUserSizeTimeDateStatistics
1teebee420.44332013/01/15 07:51:170B / 19B / 21B
2tails470.26832012/09/25 23:30:420B / 22B / 24B
3BioFALSE1310.01372013/01/28 20:52:193B / 56B / 68B

Python _

RankUserSizeTimeDateStatistics
1twobit640.21522012/09/28 23:13:060B / 36B / 21B
2clock640.23572012/10/01 13:05:410B / 36B / 21B
3hallvabo640.23212012/10/02 13:20:120B / 36B / 21B
4leonid640.22702013/01/05 13:36:410B / 36B / 22B
5llhuii650.20112014/11/29 23:34:460B / 34B / 23B
6Hendrik720.02172012/10/20 01:31:430B / 45B / 20B

Arc _

RankUserSizeTimeDateStatistics
1clock873.09522012/10/19 15:23:460B / 53B / 29B

Io _

RankUserSizeTimeDateStatistics
1clock811.06862012/09/26 11:50:230B / 57B / 19B
2pooq1030.12972012/09/25 19:03:020B / 71B / 26B

Lua _

RankUserSizeTimeDateStatistics
1clock750.17592013/02/01 15:15:350B / 48B / 20B

Xtal _

RankUserSizeTimeDateStatistics
1teebee780.33332015/02/08 06:00:410B / 41B / 37B
2clock780.19062015/02/08 11:28:270B / 46B / 32B

SNOBOL _

RankUserSizeTimeDateStatistics
1clock1040.40142013/03/23 01:56:270B / 55B / 31B

REXX _

RankUserSizeTimeDateStatistics
1teebee590.35342013/03/24 02:19:480B / 39B / 9B
2clock590.35042013/03/24 09:14:480B / 39B / 9B

Smalltalk _

RankUserSizeTimeDateStatistics
1clock890.06642013/01/07 06:10:170B / 64B / 21B

Erlang _

RankUserSizeTimeDateStatistics
1teebee1570.11152016/07/24 08:37:130B / 91B / 63B

J _

RankUserSizeTimeDateStatistics
1I., S.280.03842012/09/27 00:05:380B / 7B / 21B
2clock280.02362013/04/07 20:17:590B / 10B / 18B
3pooq300.03482012/09/25 00:11:590B / 9B / 21B
4random310.02362013/02/14 17:20:270B / 10B / 21B

K _

RankUserSizeTimeDateStatistics
1clock290.01782013/04/13 00:53:550B / 12B / 17B
2teebee290.04242013/04/21 18:11:430B / 12B / 17B
3twobit300.15572012/09/24 23:28:510B / 13B / 17B

Haskell _

RankUserSizeTimeDateStatistics
1henkma751.87532012/09/26 04:34:120B / 49B / 24B
2koyama41751.92512012/09/26 12:35:010B / 49B / 24B
3notogawa751.74502012/09/26 20:21:180B / 49B / 24B
4cojna751.90622012/09/27 02:26:290B / 49B / 24B
5int-e751.59922015/01/10 22:42:160B / 49B / 24B
6tttaki850.01772012/09/26 00:49:520B / 60B / 21B

Maxima _

RankUserSizeTimeDateStatistics
1pooq921.17952012/09/25 02:15:090B / 65B / 27B

Octave _

RankUserSizeTimeDateStatistics
1pooq681.03112013/06/29 11:51:280B / 42B / 26B

REBOL _

RankUserSizeTimeDateStatistics
1clock890.50922012/09/26 12:13:460B / 50B / 25B
2pooq970.02942012/09/26 12:54:490B / 67B / 14B

AWK _

RankUserSizeTimeDateStatistics
1teebee640.81712012/12/23 09:39:270B / 35B / 28B
2nn640.15352012/12/24 00:28:360B / 34B / 30B

jq _

RankUserSizeTimeDateStatistics
1teebee700.03522014/11/26 16:48:410B / 49B / 21B
2clock700.03902015/02/10 00:11:020B / 49B / 21B
3eban720.05662014/11/28 22:09:420B / 51B / 21B

Bash _

RankUserSizeTimeDateStatistics
1clock420.03002012/10/19 18:56:370B / 30B / 8B
2eban430.07322012/09/27 15:26:560B / 29B / 10B

xgawk _

RankUserSizeTimeDateStatistics
1llhuii630.50032014/11/30 00:30:550B / 35B / 27B

R _

RankUserSizeTimeDateStatistics
1clock1000.28912012/10/20 12:04:120B / 56B / 42B
2pooq1200.97332012/09/26 02:35:040B / 68B / 49B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs (cheat)9260.04892016/07/13 15:20:42132B / 474B / 285B
2g33k20250.00012013/01/29 14:20:34299B / ?B / ?B

GolfScript _

RankUserSizeTimeDateStatistics
1twobit240.23742012/09/24 23:38:140B / 8B / 16B
2clock240.18302012/09/25 05:29:510B / 8B / 16B
3tails240.27672012/09/25 23:06:040B / 8B / 16B
4nooodl240.17352012/09/26 04:35:390B / ?B / ?B

FlogScript _

RankUserSizeTimeDateStatistics
1milieu160.73572012/10/21 23:15:550B / ?B / ?B
2clock180.47942012/10/22 02:29:520B / 7B / 11B

Burlesque _

RankUserSizeTimeDateStatistics
1teebee220.03982014/10/08 03:33:240B / 12B / 10B
2Hendrik220.03122014/10/08 09:18:590B / 12B / 10B
3clock220.02952015/01/14 01:21:170B / 12B / 10B
4mroman280.06852012/10/19 18:09:460B / 12B / 14B

Vim _

RankUserSizeTimeDateStatistics
1clock530.22892013/02/02 17:18:014B / 29B / 15B

Groovy _

RankUserSizeTimeDateStatistics
1clock662.23722012/10/19 19:07:550B / 41B / 24B
2hoozie831.17072012/10/05 15:04:060B / 52B / 29B

Language Ranking_

RankLangUserSizeScore
1FlogScriptmilieu1610000
2Burlesqueteebee227272
3GolfScripttwobit246666
4JI., S.285714
5Kclock295517
6Bashclock423809
7Perlteebee423809
8RubyHistocrat473404
9Vimclock533018
10REXXteebee592711
11xgawkllhuii632539
12Pythontwobit642500
13AWKteebee642500
14Groovyclock662424
15Octavepooq682352
16jqteebee702285
17Haskellhenkma752133
18Luaclock752133
19Xtalteebee782051
20Ioclock811975
21Arcclock871839
22REBOLclock891797
23Smalltalkclock891797
24Maximapooq921739
25Rclock1001600
26SNOBOLclock1041538
27Erlangteebee1571019
28Brainfuckmitchs (cheat)926172

return to the top page