Lucky Numbers
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
Print all lucky numbers up to n
- Volatility
Options
exec is denied
now post-mortem time, all source codes will be revealed
Sample input:_
15
Sample output:
1
3
7
9
13
15
Sample input:_
100
Sample output:
1
3
7
9
13
15
21
25
31
33
37
43
49
51
63
67
69
73
75
79
87
93
99
Sample input:_
500
Sample output:
1
3
7
9
13
15
21
25
31
33
37
43
49
51
63
67
69
73
75
79
87
93
99
105
111
115
127
129
133
135
141
151
159
163
169
171
189
193
195
201
205
211
219
223
231
235
237
241
259
261
267
273
283
285
289
297
303
307
319
321
327
331
339
349
357
361
367
385
391
393
399
409
415
421
427
429
433
451
463
475
477
483
487
489
495
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | jpl | 87 | 0.1125 | 2013/03/15 00:49:17 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | whio | 57 | 0.0417 | 2013/03/28 06:24:16 | 0B / 19B / 38B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | Vim | udioica | 39 | 10000 |
2 | Perl | whio | 57 | 6842 |
3 | Python | Duplicate of http://golf.shinh.org/p.rb?Lucky+numbers | 60 | 6500 |
4 | Ruby | jpl | 87 | 4482 |
5 | JavaScript | Shmiddty | 109 | 3577 |
6 | C | chocobi | 126 | 3095 |
return to the top page