Derivative

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

Find the derived functions

Options

exec is denied

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

Sample input:_

0
99
x
1
x+1
2x
2
x^2
3x^5+2x^3-3x^2+5
15x^4+6x^2-6x
60x^3+12x-6
180x^2+12
360x
360
x^50+x^49+x^48+x^47+x^46+x^45+x^44+x^43+x^42+x^41+1
50x^49+49x^48+48x^47+47x^46+46x^45+45x^44+44x^43+43x^42+42x^41+41x^40
-7x^7-6x^6-5x^5
-49x^6-36x^5-25x^4
-294x^5-180x^4-100x^3
-1470x^4-720x^3-300x^2
-5880x^3-2160x^2-600x
-17640x^2-4320x-600
-35280x-4320
-35280
x^-1
-x^-2
2x^-3
-6x^-4
24x^-5
-x^-1
x^-2
x^5-3x^-5
10x^0.1
7x^7.7
-2008
-x
-2x^0.5
-x^-0.5
-3x^-1.2+5x^-2-7x-16
x^9-x^8+x^7-x^6+x^5-x^4+x^3-x^2+x-1
2x^-2-3x^-3+4x^-4-5x^-5+6x^-6
-4x^-3+9x^-4-16x^-5+25x^-6-36x^-7

Sample output:

0
0
1
0
1
2
0
2x
15x^4+6x^2-6x
60x^3+12x-6
180x^2+12
360x
360
0
50x^49+49x^48+48x^47+47x^46+46x^45+45x^44+44x^43+43x^42+42x^41+41x^40
2450x^48+2352x^47+2256x^46+2162x^45+2070x^44+1980x^43+1892x^42+1806x^41+1722x^40+1640x^39
-49x^6-36x^5-25x^4
-294x^5-180x^4-100x^3
-1470x^4-720x^3-300x^2
-5880x^3-2160x^2-600x
-17640x^2-4320x-600
-35280x-4320
-35280
0
-x^-2
2x^-3
-6x^-4
24x^-5
-120x^-6
x^-2
-2x^-3
5x^4+15x^-6
x^-0.9
53.9x^6.7
0
-1
-x^-0.5
0.5x^-1.5
3.6x^-2.2-10x^-3-7
9x^8-8x^7+7x^6-6x^5+5x^4-4x^3+3x^2-2x+1
-4x^-3+9x^-4-16x^-5+25x^-6-36x^-7
12x^-4-36x^-5+80x^-6-150x^-7+252x^-8

Ranking

Perl _

RankUserSizeTimeDateStatistics
1tybalt891080.17982008/10/12 11:03:220B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1recursive2610.03952008/10/11 23:00:460B / 114B / 131B

JavaScript _

RankUserSizeTimeDateStatistics
1murky-satyr1560.06332008/10/09 06:44:040B / 50B / 106B
2nn1610.04972008/10/08 22:20:070B / 56B / 105B
3murky-satyr1550.55122008/10/22 06:49:240B / 50B / 105B

C _

RankUserSizeTimeDateStatistics
151b2600.02302008/10/11 00:17:270B / 128B / 130B
251b2560.00312008/10/26 23:03:020B / 128B / 126B

D _

RankUserSizeTimeDateStatistics
151b2970.03002008/10/26 23:47:410B / 154B / 139B

AWK _

RankUserSizeTimeDateStatistics
1nn1850.02802008/10/10 14:36:410B / 56B / 122B

Postscript _

RankUserSizeTimeDateStatistics
1yshl(bin)4130.37822008/10/11 13:09:48183B / 136B / 93B
2yshl7370.41982008/10/11 13:09:130B / 527B / 99B
3yshl(bin)2960.34012008/10/18 14:23:46170B / 85B / 37B

Groovy _

RankUserSizeTimeDateStatistics
1nn2355.11612008/10/08 22:47:200B / 106B / 120B
2murky-satyr2235.09122008/10/22 07:13:410B / 105B / 109B

Language Ranking_

RankLangUserSizeScore
1Perltybalt8910810000
2JavaScriptmurky-satyr1556967
3AWKnn1855837
4Groovymurky-satyr2234843
5C51b2564218
6Pythonrecursive2614137
7Postscriptyshl(bin)2963648
8D51b2973636

return top