Primey Factory
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
Inspired by all those prime factor challenges recently:
Given n = p_1^n_1 * p_2^n_2 * ... find p_i such that n_i is maximum of all p_i. In other terms: Find the prime factor that occurs the most times in the prime factorization.
Options
exec is denied
now post-mortem time, all source codes will be revealed
Sample input:_
*NOTHING*
Sample output:
1
2
3
2
5
3
7
2
3
5
11
2
13
7
5
2
17
3
19
2
7
11
23
2
5
13
3
2
29
5
31
2
11
17
7
3
37
19
13
2
41
7
43
2
3
23
47
2
7
5
17
2
53
3
11
2
19
29
59
2
61
31
3
2
13
11
67
2
23
7
71
2
73
37
5
2
11
13
79
2
3
41
83
2
17
43
29
2
89
3
13
2
31
47
19
2
97
7
3
5
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 70 | 0.3361 | 2014/09/10 08:25:40 | 0B / 24B / 46B |
2 | brx | 72 | 0.0355 | 2014/09/11 08:28:16 | 0B / 27B / 45B |
3 | teebee(brx) | 69 | 0.0437 | 2014/09/11 16:04:21 | 0B / 26B / 43B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 32 | 0.0212 | 2014/09/03 13:01:09 | 0B / 10B / 21B |
2 | medialuna | 42 | 0.0176 | 2014/08/29 14:48:29 | 0B / 16B / 23B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | pooq | 73 | 0.4199 | 2014/09/04 01:17:53 | 0B / 49B / 24B |
2 | teebee(pooq) | 72 | 0.4039 | 2014/09/12 08:02:27 | 0B / 49B / 23B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 43 | 0.3385 | 2014/09/06 20:01:08 | 0B / 30B / 12B |
2 | pooq | 59 | 0.2778 | 2014/09/05 18:21:12 | 0B / 37B / 21B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 72 | 0.0915 | 2014/09/11 04:59:05 | 0B / 34B / 37B |
2 | llhuii | 80 | 0.0756 | 2014/09/02 23:00:45 | 0B / ?B / ?B |
3 | llhuii(teebee) | 67 | 0.0751 | 2014/09/12 22:52:40 | 0B / 33B / 33B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 69 | 0.1342 | 2014/09/11 04:59:59 | 0B / 34B / 34B |
2 | llhuii | 78 | 0.1141 | 2014/09/10 22:42:24 | 0B / 38B / 39B |
3 | llhuii(teebee) | 64 | 0.1512 | 2014/09/12 23:03:37 | 0B / 33B / 30B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 18 | 0.0369 | 2022/02/16 15:42:00 | 11B / 5B / 2B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | mroman | 15 | 0.0145 | 2014/08/28 16:37:24 | 0B / ?B / ?B |
2 | teebee | 15 | 0.0142 | 2014/08/29 04:59:23 | 0B / 10B / 5B |
3 | Hendrik | 15 | 0.0131 | 2014/08/29 10:12:42 | 0B / 10B / 5B |
4 | nooodl | 16 | 0.0120 | 2014/08/29 11:20:08 | 0B / ?B / ?B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | Burlesque | mroman | 15 | 10000 |
2 | Nibbles | tails | 18 | 8333 |
3 | J | pooq | 32 | 4687 |
4 | Octave | teebee | 43 | 3488 |
5 | xgawk | llhuii(teebee) | 64 | 2343 |
6 | AWK | llhuii(teebee) | 67 | 2238 |
7 | Perl | teebee(brx) | 69 | 2173 |
8 | Maxima | teebee(pooq) | 72 | 2083 |
9 | Ruby | Histocrat | 73 | 2054 |
10 | Haskell | henkma | 79 | 1898 |
11 | Python | hallvabo | 93 | 1612 |
12 | C | pandamonium | 102 | 1470 |
return to the top page