Primey Factory EX

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

Given n = p_1^m_1 * p_2^m_2 ... find the largest m_i. (p_i are prime).

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

*NOTHING*

Sample output:

1
1
1
2
1
1
1
3
2
1
1
2
1
1
1
4
1
2
1
2
1
1
1
3
2
1
3
2
1
1
1
5
1
1
1
2
1
1
1
3
1
1
1
2
2
1
1
4
2
2
1
2
1
3
1
3
1
1
1
2
1
1
2
6
1
1
1
2
1
1
1
3
1
1
2
2
1
1
1
4
4
1
1
2
1
1
1
3
1
2
1
2
1
1
1
5
1
2
2
2

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid520.02102014/08/30 08:11:310B / 25B / 25B
2Histocrat611.28982014/09/03 00:06:500B / 26B / 34B
3Histocrat (mathn)660.01702014/08/29 05:34:490B / 44B / 20B

Perl _

RankUserSizeTimeDateStatistics
1teebee600.04072014/09/10 09:36:190B / 26B / 34B

Python _

RankUserSizeTimeDateStatistics
1teebee660.16242014/09/02 09:25:130B / 35B / 31B
2leonid660.05152014/09/04 05:56:360B / 35B / 30B
3hallvabo750.06472014/09/02 08:25:130B / 44B / 22B
4recursive820.06092014/09/30 07:32:000B / 52B / 17B
5rolf840.11832014/10/12 05:50:420B / 49B / 25B

PARI/GP _

RankUserSizeTimeDateStatistics
1mitchs420.01112014/08/29 17:09:220B / 27B / 15B
2teebee420.00702014/09/15 02:11:580B / 27B / 15B

J _

RankUserSizeTimeDateStatistics
1pooq190.01952014/09/03 12:12:280B / 8B / 11B
2Hendrik190.02542015/06/05 03:59:160B / 8B / 11B
3medialuna270.01762014/08/29 14:44:530B / ?B / ?B

C _

RankUserSizeTimeDateStatistics
1mitchs870.00012015/06/01 14:21:140B / 42B / 45B
2%201010.00012014/10/04 11:17:380B / ?B / ?B

Haskell _

RankUserSizeTimeDateStatistics
1henkma670.89722014/09/02 19:35:480B / 38B / 27B
2int-e670.86782014/10/03 14:56:370B / 38B / 28B
3oerjan670.97312014/10/14 00:15:190B / 38B / 28B

Maxima _

RankUserSizeTimeDateStatistics
1teebee600.50862014/09/12 08:26:250B / 41B / 19B
2mitchs600.46732015/09/15 13:51:070B / 41B / 19B
3pooq610.39342014/09/04 00:34:400B / 41B / 20B

Octave _

RankUserSizeTimeDateStatistics
1pooq480.26452014/09/05 18:17:400B / 32B / 15B
2teebee480.27742014/09/06 19:20:540B / 32B / 15B

AWK _

RankUserSizeTimeDateStatistics
1teebee570.01132014/09/02 05:57:010B / 28B / 29B
2llhuii580.07312014/09/02 17:01:300B / 29B / 28B

jq _

RankUserSizeTimeDateStatistics
1clock1120.38592015/02/12 01:59:210B / 40B / 72B

xgawk _

RankUserSizeTimeDateStatistics
1teebee550.01242014/09/02 05:57:460B / 28B / 27B
2llhuii550.11022014/09/02 17:01:560B / 29B / 25B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs (cheat)1220.03242015/10/05 03:02:161B / 100B / 20B

MNNBFSL _

RankUserSizeTimeDateStatistics
1AndoDaan7890.00012015/01/17 09:44:330B / 0B / 789B

Whitespace _

RankUserSizeTimeDateStatistics
1kaz_u1720.01142015/05/14 23:34:100B / 0B / 0B
2%202450.03272014/10/09 16:15:490B / 0B / 0B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs120.10552015/05/19 10:15:585B / 4B / 3B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik190.02332014/10/15 09:27:370B / 10B / 9B
2teebee190.03032015/01/15 06:09:080B / 10B / 9B
3clock190.01692015/01/15 07:35:270B / 13B / 6B

Logo _

RankUserSizeTimeDateStatistics
1clock810.50112015/02/06 01:11:260B / 50B / 19B

Language Ranking_

RankLangUserSizeScore
1gs2mitchs1210000
2Jpooq196315
3BurlesqueHendrik196315
4PARI/GPmitchs422857
5Octavepooq482500
6Rubyleonid522307
7xgawkteebee552181
8AWKteebee572105
9Perlteebee602000
10Maximateebee602000
11Pythonteebee661818
12Haskellhenkma671791
13Logoclock811481
14Cmitchs871379
15jqclock1121071
16Brainfuckmitchs (cheat)122983
17Whitespacekaz_u172697
18MNNBFSLAndoDaan789152

return top