JS golf 2

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 a table of divisors. Note the trailing space in each line. JS is the only language which can go shorter than two-loop approach!

Options

exec is denied

rejudge feature is enabled

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

Sample input:_

*NOTHING*

Sample output:

1 
1 2 
1 3 
1 2 4 
1 5 
1 2 3 6 
1 7 
1 2 4 8 
1 3 9 
1 2 5 10 
1 11 
1 2 3 4 6 12 
1 13 
1 2 7 14 
1 3 5 15 
1 2 4 8 16 
1 17 
1 2 3 6 9 18 
1 19 
1 2 4 5 10 20 
1 3 7 21 
1 2 11 22 
1 23 
1 2 3 4 6 8 12 24 
1 5 25 
1 2 13 26 
1 3 9 27 
1 2 4 7 14 28 
1 29 
1 2 3 5 6 10 15 30 
1 31 
1 2 4 8 16 32 
1 3 11 33 
1 2 17 34 
1 5 7 35 
1 2 3 4 6 9 12 18 36 
1 37 
1 2 19 38 
1 3 13 39 
1 2 4 5 8 10 20 40 
1 41 
1 2 3 6 7 14 21 42 
1 43 
1 2 4 11 22 44 
1 3 5 9 15 45 
1 2 23 46 
1 47 
1 2 3 4 6 8 12 16 24 48 
1 7 49 
1 2 5 10 25 50 
1 3 17 51 
1 2 4 13 26 52 
1 53 
1 2 3 6 9 18 27 54 
1 5 11 55 
1 2 4 7 8 14 28 56 
1 3 19 57 
1 2 29 58 
1 59 
1 2 3 4 5 6 10 12 15 20 30 60 
1 61 
1 2 31 62 
1 3 7 9 21 63 
1 2 4 8 16 32 64 
1 5 13 65 
1 2 3 6 11 22 33 66 
1 67 
1 2 4 17 34 68 
1 3 23 69 
1 2 5 7 10 14 35 70 
1 71 
1 2 3 4 6 8 9 12 18 24 36 72 
1 73 
1 2 37 74 
1 3 5 15 25 75 
1 2 4 19 38 76 
1 7 11 77 
1 2 3 6 13 26 39 78 
1 79 
1 2 4 5 8 10 16 20 40 80 
1 3 9 27 81 
1 2 41 82 
1 83 
1 2 3 4 6 7 12 14 21 28 42 84 
1 5 17 85 
1 2 43 86 
1 3 29 87 
1 2 4 8 11 22 44 88 
1 89 
1 2 3 5 6 9 10 15 18 30 45 90 
1 7 13 91 
1 2 4 23 46 92 
1 3 31 93 
1 2 47 94 
1 5 19 95 
1 2 3 4 6 8 12 16 24 32 48 96 
1 97 
1 2 7 14 49 98 
1 3 9 11 33 99 
1 2 4 5 10 20 25 50 100 

Ranking

JavaScript _

RankUserSizeTimeDateStatistics
1JOrE20 (condensed loops)550.02722026/08/26 22:48:180B / ?B / ?B
2JOrE20570.02412026/08/26 22:47:380B / ?B / ?B
3JOrE20 (in order to utilize my 49b code in code.golf (becomes 51b), you need to trigger deadline of jacobi symbol fixed)570.02422026/09/07 01:21:040B / ?B / ?B

iogii _

RankUserSizeTimeDateStatistics
1JOrE20100.02552026/08/26 22:50:010B / ?B / ?B

gs2 _

RankUserSizeTimeDateStatistics
1whio120.34512026/09/02 18:13:066B / 3B / 3B

Nibbles _

RankUserSizeTimeDateStatistics
1whio70.02002026/09/02 18:08:363B / 3B / 1B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik200.02812026/08/27 17:59:340B / 12B / 7B

Lazy-K _

RankUserSizeTimeDateStatistics
1tails6790.18372026/08/27 13:59:290B / 368B / 311B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o574.85402026/08/29 10:30:260B / 27B / 24B

Language Ranking_

RankLangUserSizeScore
1Nibbleswhio710000
2iogiiJOrE20107000
3gs2whio125833
4BurlesqueHendrik203500
5JavaScriptJOrE20 (condensed loops)551272
6Scalarotary-o571228
7Lazy-Ktails679103

return to the top page