Double Square Numbers

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 Double Square Numbers (may not be a correct name) less than 100000.

Double square numbers are numbers expressed as p*p*q*q where p and q are prime numbers.

For example, 484 = 2*2*11*11 and hence a Double square number.

--nn

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

*NOTHING*

Sample output:

16
36
81
100
196
225
441
484
625
676
1089
1156
1225
1444
1521
2116
2401
2601
3025
3249
3364
3844
4225
4761
5476
5929
6724
7225
7396
7569
8281
8649
8836
9025
11236
12321
13225
13924
14161
14641
14884
15129
16641
17689
17956
19881
20164
20449
21025
21316
24025
24964
25281
25921
27556
28561
31329
31684
33489
34225
34969
37636
40401
40804
41209
42025
42436
43681
45369
45796
46225
47089
47524
47961
48841
51076
55225
56169
61009
62001
64009
64516
67081
68644
70225
71289
75076
77284
82369
83521
84681
87025
88804
89401
90601
91204
91809
93025
95481
98596

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid560.04192013/05/10 09:08:000B / 25B / 28B
2yvl650.03622011/09/09 08:13:300B / 33B / 30B
3clock680.31072011/09/20 21:51:050B / ?B / ?B
4Histocrat780.16882014/01/22 03:33:120B / 49B / 26B
5pooq830.08672011/09/08 21:28:340B / 51B / 28B
6bk1e950.16332011/09/08 14:10:170B / 60B / 28B

Perl _

RankUserSizeTimeDateStatistics
1llhuii530.03002016/03/05 23:24:310B / 19B / 34B
2teebee560.06682015/11/01 09:07:500B / 19B / 37B
3Hem810.03852011/10/11 09:01:240B / 36B / 44B
4macik1030.00022011/09/27 06:53:130B / ?B / ?B
5ninjalj1160.04432011/09/30 18:55:060B / 51B / 65B
6BioFALSE1720.21582013/01/28 23:29:298B / 74B / 80B

Python _

RankUserSizeTimeDateStatistics
1llhuii670.52052016/03/05 23:58:510B / 37B / 29B
2leonid680.05512013/05/10 09:00:200B / 40B / 24B
3hallvabo690.02832011/09/05 21:59:210B / 35B / 26B
4recursive840.10152011/10/14 01:25:480B / 48B / 26B
5rolf960.08692013/10/02 06:45:420B / 52B / 24B

PHP _

RankUserSizeTimeDateStatistics
1teebee750.02512011/11/13 06:49:421B / 25B / 49B
2clock1070.03982011/09/21 15:07:270B / 37B / 69B
3Korvin6510.02482011/10/26 07:58:2099B / ?B / ?B

Arc _

RankUserSizeTimeDateStatistics
1pooq1002.22832011/09/08 23:29:380B / 48B / 31B

Io _

RankUserSizeTimeDateStatistics
1pooq700.55422011/09/10 06:38:060B / 37B / 33B

JavaScript _

RankUserSizeTimeDateStatistics
1nn680.07322011/09/07 15:02:230B / 34B / 34B
2madshall902.17142013/09/26 05:31:530B / 43B / 47B
3ed1220.99112013/10/13 19:36:140B / ?B / ?B
4_nderscore1240.29522013/08/09 01:11:420B / 60B / 64B
5Shmiddty1300.03302013/10/03 02:50:080B / ?B / ?B
6ocherk1520.04052013/10/01 19:12:350B / 75B / 77B
7Skilover872510.02952013/09/21 03:57:250B / ?B / ?B

Lua _

RankUserSizeTimeDateStatistics
1pooq940.01812011/09/08 22:19:570B / 59B / 23B

Xtal _

RankUserSizeTimeDateStatistics
1pooq760.02752011/09/08 01:35:130B / 40B / 36B

REXX _

RankUserSizeTimeDateStatistics
1*yuko*760.20472014/03/17 22:21:130B / 44B / 26B

PARI/GP _

RankUserSizeTimeDateStatistics
1teebee370.01392012/03/27 15:59:480B / 25B / 12B
2clock370.02082012/05/08 13:38:410B / 25B / 12B
3mitchs370.00842014/09/24 08:09:320B / 25B / 12B

BASIC _

RankUserSizeTimeDateStatistics
1pooq740.10572011/09/09 11:35:390B / 46B / 20B
2*yuko*740.06982011/09/10 05:53:360B / 46B / 22B
3I., S.800.07012011/09/07 06:42:020B / 47B / 27B

J _

RankUserSizeTimeDateStatistics
1I., S.210.04032011/09/07 06:09:240B / 9B / 12B
2pooq(J Home)220.05182011/09/07 05:35:560B / 8B / 14B
3pooq250.04122011/09/06 00:09:400B / 9B / 16B
4random270.13982013/06/06 23:45:180B / ?B / ?B
5medialuna370.02662014/08/14 15:59:310B / ?B / ?B

C _

RankUserSizeTimeDateStatistics
1llhuii720.01162015/10/30 01:27:550B / 32B / 40B
2nu770.01032013/05/04 17:09:330B / 38B / 39B
3nai800.00022011/09/20 14:48:090B / 37B / 43B
4nn830.00032011/09/07 12:40:440B / 38B / 45B
5I., S.910.00022011/09/09 05:34:480B / 45B / 46B

Haskell _

RankUserSizeTimeDateStatistics
1henkma650.02212011/09/28 18:50:530B / 36B / 26B
2notogawa690.24612011/09/20 20:35:220B / 39B / 26B
3koyama41821.44782011/12/02 22:51:110B / 44B / 34B
4_991.96052011/09/29 23:22:190B / 51B / 46B
5tm8st1490.02402011/10/16 18:42:150B / ?B / ?B
6feuermonster1510.00032011/09/16 00:11:170B / 89B / 50B

ObjC _

RankUserSizeTimeDateStatistics
1llhuii720.01062015/10/30 01:34:470B / 32B / 40B

Pascal _

RankUserSizeTimeDateStatistics
1*yuko*1320.00022011/09/10 06:10:030B / 86B / 33B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*770.02042012/10/25 22:32:490B / 37B / 40B
2I., S.1050.00022011/09/09 05:24:470B / 63B / 40B

COBOL _

RankUserSizeTimeDateStatistics
1*yuko*2820.55122011/09/16 09:03:440B / 196B / 39B

Maxima _

RankUserSizeTimeDateStatistics
1pooq620.75332011/09/08 00:19:130B / 42B / 18B

gnuplot _

RankUserSizeTimeDateStatistics
1*yuko*730.05112015/03/08 15:00:250B / 36B / 34B

Octave _

RankUserSizeTimeDateStatistics
1teebee510.22792014/12/31 05:12:120B / 31B / 20B

Asymptote _

RankUserSizeTimeDateStatistics
1pooq870.16472011/12/19 14:23:020B / 42B / 44B

AWK _

RankUserSizeTimeDateStatistics
1llhuii581.32232015/07/13 05:51:220B / ?B / ?B
2I., S.760.04682011/09/08 23:04:530B / 39B / 36B

jq _

RankUserSizeTimeDateStatistics
1clock550.10522015/02/10 03:02:120B / 18B / 37B
2teebee610.11882014/11/30 06:03:530B / 18B / 43B

Bash _

RankUserSizeTimeDateStatistics
1mitchs240.11042016/03/06 03:20:146B / 6B / 10B
2llhuii320.01142015/07/13 04:57:500B / ?B / ?B
3mitchs (alt)320.01082016/03/06 03:21:510B / 20B / 10B
4pooq340.01842011/09/07 22:20:500B / 21B / 11B
5ninjalj580.99822011/09/30 19:05:330B / 29B / 25B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1llhuii650.60752016/03/06 01:32:250B / 25B / 38B

Zsh _

RankUserSizeTimeDateStatistics
1llhuii320.00772015/07/13 04:58:140B / ?B / ?B
2pooq340.12202011/10/03 17:00:550B / 21B / 11B
3ninjalj580.78782011/09/30 19:13:390B / 29B / 25B

Fish _

RankUserSizeTimeDateStatistics
1llhuii320.01712015/07/13 04:58:090B / ?B / ?B
2pooq340.04382011/10/03 17:01:310B / 21B / 11B
3ninjalj611.29762011/09/30 19:14:270B / 32B / 23B

xgawk _

RankUserSizeTimeDateStatistics
1llhuii580.02832015/07/13 05:58:190B / ?B / ?B

R _

RankUserSizeTimeDateStatistics
1clock560.16502013/03/08 21:05:320B / 35B / 21B
2pooq861.23382011/09/08 00:14:480B / 47B / 35B

QCL _

RankUserSizeTimeDateStatistics
1pooq1090.69622011/09/08 22:48:300B / 66B / 30B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs (cheat)2101.57162016/07/11 18:19:1496B / 0B / 110B

Whitespace _

RankUserSizeTimeDateStatistics
1kaz_u2060.74142015/05/12 23:08:090B / 0B / 0B

GolfScript _

RankUserSizeTimeDateStatistics
1nn421.83072011/09/07 23:02:330B / 11B / 31B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs120.12062015/05/11 02:53:215B / 2B / 5B

Burlesque _

RankUserSizeTimeDateStatistics
1teebee210.02092014/10/08 03:29:360B / 12B / 9B
2Hendrik210.07322014/10/08 09:15:050B / 12B / 9B
3clock210.02122015/01/14 00:14:550B / 12B / 9B

Vim _

RankUserSizeTimeDateStatistics
1clock1020.40022011/12/18 22:38:296B / 48B / 39B

goruby _

RankUserSizeTimeDateStatistics
1pooq600.08632011/09/27 00:32:440B / 31B / 26B

Groovy _

RankUserSizeTimeDateStatistics
1nn652.37252011/09/07 14:59:350B / 35B / 30B

Language Ranking_

RankLangUserSizeScore
1gs2mitchs1210000
2JI., S.215714
3Burlesqueteebee215714
4Bashmitchs245000
5Fishllhuii323750
6Zshllhuii323750
7PARI/GPteebee373243
8GolfScriptnn422857
9Octaveteebee512352
10Perlllhuii532264
11jqclock552181
12Rclock562142
13Rubyleonid562142
14AWKllhuii582068
15xgawkllhuii582068
16gorubypooq602000
17Maximapooq621935
18Groovynn651846
19Haskellhenkma651846
20Bash (builtins)llhuii651846
21Pythonllhuii671791
22JavaScriptnn681764
23Iopooq701714
24Cllhuii721666
25ObjCllhuii721666
26gnuplot*yuko*731643
27BASICpooq741621
28PHPteebee751600
29Xtalpooq761578
30REXX*yuko*761578
31Fortran*yuko*771558
32Asymptotepooq871379
33Luapooq941276
34Arcpooq1001200
35Vimclock1021176
36QCLpooq1091100
37Pascal*yuko*132909
38Whitespacekaz_u206582
39Brainfuckmitchs (cheat)210571
40COBOL*yuko*282425

return top