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
4lynn3040.00012018/07/14 23:16:270B / 199B / 105B

Ruby2 _

RankUserSizeTimeDateStatistics
1lynn3040.06762018/07/14 23:16:270B / 199B / 105B

Perl _

RankUserSizeTimeDateStatistics
1llhuii550.23182018/05/08 22:41:460B / 18B / 36B
2tails590.01772018/05/07 01:51:010B / 26B / 33B
3teebee600.04072014/09/10 09:36:190B / 26B / 34B
4lynn3050.01552018/07/14 23:16:270B / 204B / 101B

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
6lynn3050.04442018/07/14 23:16:310B / 204B / 101B

PHP _

RankUserSizeTimeDateStatistics
1lynn1990.05932018/07/14 23:16:180B / 100B / 0B

JavaScript _

RankUserSizeTimeDateStatistics
1lynn3070.02352018/07/14 23:16:270B / 204B / 103B

Lua _

RankUserSizeTimeDateStatistics
1lynn3070.01312018/07/14 23:16:270B / 204B / 103B

PARI/GP _

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

BASIC _

RankUserSizeTimeDateStatistics
1lynn3010.01572018/07/14 23:16:270B / 199B / 102B

Perl6 _

RankUserSizeTimeDateStatistics
1lynn3040.57062018/07/14 23:16:310B / 202B / 101B

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
1llhuii790.07452018/05/06 12:26:330B / 38B / 41B
2mitchs870.00012015/06/01 14:21:140B / 42B / 45B
3%201010.00012014/10/04 11:17:380B / ?B / ?B
4lynn3150.01082018/07/14 23:16:310B / 207B / 108B

Rust _

RankUserSizeTimeDateStatistics
1lynn3200.01442018/07/14 23:16:300B / 210B / 109B

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
4lynn3110.01412018/07/14 23:16:260B / 209B / 102B

Curry _

RankUserSizeTimeDateStatistics
1lynn3110.00012018/07/14 23:16:260B / 209B / 102B

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

Zsh _

RankUserSizeTimeDateStatistics
1lynn3050.01612018/07/14 23:16:270B / 203B / 101B

xgawk _

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

m4 _

RankUserSizeTimeDateStatistics
1lynn1990.01182018/07/14 23:16:180B / 100B / 0B

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

GolfScript _

RankUserSizeTimeDateStatistics
1lynn3000.02092018/07/14 23:16:260B / 199B / 101B

gs2 _

RankUserSizeTimeDateStatistics
1tails110.19182018/05/07 02:04:064B / 4B / 3B
2mitchs120.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
4lynn3020.01742018/07/14 23:16:180B / 200B / 102B

Universal Lambda _

RankUserSizeTimeDateStatistics
1lynn2000.02312018/07/14 23:16:310B / 100B / 0B

z80 _

RankUserSizeTimeDateStatistics
1lynn2110.01202018/07/14 23:16:317B / 101B / 4B

Vim _

RankUserSizeTimeDateStatistics
1lynn2030.02292018/07/14 23:16:311B / 103B / 0B

goruby _

RankUserSizeTimeDateStatistics
1lynn3030.02852018/07/14 23:16:270B / 202B / 101B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o834.55422018/05/05 00:18:074B / 42B / 32B

Logo _

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

Language Ranking_

RankLangUserSizeScore
1gs2tails1110000
2Jpooq195789
3BurlesqueHendrik195789
4PARI/GPmitchs422619
5Octavepooq482291
6Rubyleonid522115
7xgawkteebee552000
8Perlllhuii552000
9AWKteebee571929
10Maximateebee601833
11Pythonteebee661666
12Haskellhenkma671641
13Cllhuii791392
14Logoclock811358
15Scalarotary-o831325
16jqclock112982
17Brainfuckmitchs (cheat)122901
18Whitespacekaz_u172639
19PHPlynn199552
20m4lynn199552
21Universal Lambdalynn200550
22Vimlynn203541
23z80lynn211521
24GolfScriptlynn300366
25BASIClynn301365
26gorubylynn303363
27Ruby2lynn304361
28Perl6lynn304361
29Zshlynn305360
30Lualynn307358
31JavaScriptlynn307358
32Currylynn311353
33Rustlynn320343
34MNNBFSLAndoDaan789139

return to the top page