differentiation

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 f(x), print f'(x).

-- %20

Options

exec is denied

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

Sample input:_

-765x^5+982x^4+417x^3-764x^2-55
176x^4+452x^3-668x^2-201
81x^5-261x^3+174x^2-806
244x^5-879x^3-413x+766
-132x^3-751x^2+259x+582
-117x^5+938x^4-369x^2-985x
-410x^5+269x^4+916x+899
-101x^5+949x^3-900x
-559x^5-239x^4-299x^3+336x^2-682
856x^4-724x^3+884x^2+295x
352x^5+21x^3
378x^5-248x^3-545x^2+923
243x^4+678x^3+591x^2-387x+5
-428x^5+519x^4+671x+455
740x^5-922x^3+612x^2+85x+226
-821x^3-154x^2-821x+834
-537x^5-244x^4+671x^3-464x^2-256x
925x^5-678x^4+804x^3+334x^2-936
368x^5-36x^3-901
190x^4+206
396x^4-569x^2+400x
586x^5+556x^3+438x^2+636x+384
-511x^4-532x^3+90x^2-847x+880
-919x^5+979x^4-56x^3+135x^2
91x^5-18x^2-392x-124
-302x^4+387x+563
-725x^5-814x^3-50x^2+231x-958
387x^5+648x^4+327x^3+968x^2-787x
128x^4-491x^3+802x+370
-771x^4-793x^3-656x^2+367x-744
-317x^5-389x^4-747x^2+689x+501
-612x^4-866x^3-680x^2+869x
813x^5-138x^3-470x^2+837
813x^5+259x^4+934x^3+969x^2+793
-893x^5-992x^4-865x^3+153x^2+242x
-251x^4+963x^3+441x^2+136
-750x^5-219x^4+70x^3+31x-587
469x^3-363x^2+934x
-416x^5+143x^2-800x+585
910x^5+265x^4+155x^2-890
-595x^5+385x^3-123
282x^5-627x^4-886x^3+436x^2
-527x^5+399x^4+156x^3-832x^2+807x
235x^5+648x^3+547x+112
829x^5-188x^4-252x^3+31x^2-195x
-205x^5-523x^4-852x^3-47
322x^5+558x^4+638
-239x^4+814x^3-272x^2+853x
198x^4-166x^3-773x^2
753x^5+61x^2+827x
354x^4+468x^3+55x+715
-956x^4+856x^3+141x
876x^5-99x^4-467x^3+547x
-707x^5-388x^4+974x-697
-107x^4-797x^3-428x^2
-914x^5+908x^4-874x^3+19x-699
-42x^4+812x^3-849x^2
937x^5-857x^4-529x^3+436x^2-393x
529x^4+291x^3+2x
974x^5-990x^4+687x^3-963x
-37x^5+854x^2-844
-395x^4+595x-64
469x^2
-754x^5-174x^4-10x^2+413x
-590x^5-907x^4+181x^3+249x-432
-36x^5+631x^4+834x^3-777x^2+627x+137
-695x^4-344x^2-258
-317x^4-801x^3+593
374x^5-447x^3+856x^2+996x-860
-229x^5+4x^4
85x^5-893x^4-582x^3-572x^2+62x
58x^5+614x^4-803x
761x^5-30x^4+458x^3-691x^2
-551x^4+535
-898x-822
-527x^5-425x^4+648x^3+767x^2-788
614x^5+923x^3+912
885x^5+489x^4+502x^2-99x-214
57x^5+251x^3-454x+914
-638x^5-970x^4+535x^3+590x^2-33x-679
-823x^5-907x
383x^5-206x^2-399
-487x^5+166x^3-396
-110x^5+957x^4-879x^3+63x^2-949x
674x^2-357x-490
-500x^5-162x^3-154x^2+531x
43x^5+498x^4-519x^2-869
502x^5+792x^4-315x^3+19x^2-829x
582x^5+163x^4-837x^3+328x^2-483x-891
-170x^5-455x^4+849x^3+377x^2-553
-19x^5-301x^4-445x^3-32x^2-938
363x^5-328x^3+460x^2
349x^5-359x^4+885x^3
191x^5-78x+489
426x^4-108x^3-748x^2+732x-350
164x^5-852x^3-520x^2-212x-747
941x^4+895x^3-779
-205x^3-149x+106
189x^5+981x^4+133x^2-484x-434
-168x^5-294x^4-790

Sample output:

-3825x^4+3928x^3+1251x^2-1528x
704x^3+1356x^2-1336x
405x^4-783x^2+348x
1220x^4-2637x^2-413
-396x^2-1502x+259
-585x^4+3752x^3-738x-985
-2050x^4+1076x^3+916
-505x^4+2847x^2-900
-2795x^4-956x^3-897x^2+672x
3424x^3-2172x^2+1768x+295
1760x^4+63x^2
1890x^4-744x^2-1090x
972x^3+2034x^2+1182x-387
-2140x^4+2076x^3+671
3700x^4-2766x^2+1224x+85
-2463x^2-308x-821
-2685x^4-976x^3+2013x^2-928x-256
4625x^4-2712x^3+2412x^2+668x
1840x^4-108x^2
760x^3
1584x^3-1138x+400
2930x^4+1668x^2+876x+636
-2044x^3-1596x^2+180x-847
-4595x^4+3916x^3-168x^2+270x
455x^4-36x-392
-1208x^3+387
-3625x^4-2442x^2-100x+231
1935x^4+2592x^3+981x^2+1936x-787
512x^3-1473x^2+802
-3084x^3-2379x^2-1312x+367
-1585x^4-1556x^3-1494x+689
-2448x^3-2598x^2-1360x+869
4065x^4-414x^2-940x
4065x^4+1036x^3+2802x^2+1938x
-4465x^4-3968x^3-2595x^2+306x+242
-1004x^3+2889x^2+882x
-3750x^4-876x^3+210x^2+31
1407x^2-726x+934
-2080x^4+286x-800
4550x^4+1060x^3+310x
-2975x^4+1155x^2
1410x^4-2508x^3-2658x^2+872x
-2635x^4+1596x^3+468x^2-1664x+807
1175x^4+1944x^2+547
4145x^4-752x^3-756x^2+62x-195
-1025x^4-2092x^3-2556x^2
1610x^4+2232x^3
-956x^3+2442x^2-544x+853
792x^3-498x^2-1546x
3765x^4+122x+827
1416x^3+1404x^2+55
-3824x^3+2568x^2+141
4380x^4-396x^3-1401x^2+547
-3535x^4-1552x^3+974
-428x^3-2391x^2-856x
-4570x^4+3632x^3-2622x^2+19
-168x^3+2436x^2-1698x
4685x^4-3428x^3-1587x^2+872x-393
2116x^3+873x^2+2
4870x^4-3960x^3+2061x^2-963
-185x^4+1708x
-1580x^3+595
938x
-3770x^4-696x^3-20x+413
-2950x^4-3628x^3+543x^2+249
-180x^4+2524x^3+2502x^2-1554x+627
-2780x^3-688x
-1268x^3-2403x^2
1870x^4-1341x^2+1712x+996
-1145x^4+16x^3
425x^4-3572x^3-1746x^2-1144x+62
290x^4+2456x^3-803
3805x^4-120x^3+1374x^2-1382x
-2204x^3
-898
-2635x^4-1700x^3+1944x^2+1534x
3070x^4+2769x^2
4425x^4+1956x^3+1004x-99
285x^4+753x^2-454
-3190x^4-3880x^3+1605x^2+1180x-33
-4115x^4-907
1915x^4-412x
-2435x^4+498x^2
-550x^4+3828x^3-2637x^2+126x-949
1348x-357
-2500x^4-486x^2-308x+531
215x^4+1992x^3-1038x
2510x^4+3168x^3-945x^2+38x-829
2910x^4+652x^3-2511x^2+656x-483
-850x^4-1820x^3+2547x^2+754x
-95x^4-1204x^3-1335x^2-64x
1815x^4-984x^2+920x
1745x^4-1436x^3+2655x^2
955x^4-78
1704x^3-324x^2-1496x+732
820x^4-2556x^2-1040x-212
3764x^3+2685x^2
-615x^2-149
945x^4+3924x^3+266x-484
-840x^4-1176x^3

Sample input:_

222x^5+751x^3-909x^2
649x^5+216x^3+141x^2+965
-510x^4+220x^3+496x^2
52x^5+795x^4+619x^3-45x^2+498
-584x^5+87x^4-544x-312
824x^5-844x^4+902x^2+915x+896
397x^5+209x^3+603x^2-701x
300x^3+104
839x^4+433x^3-961x^2+350x+994
353x^5+785x^3+767x^2-430
-89x^5+668x^4-646x^3+675x^2-207x
-525x^3-906x^2-38x
-116x^4+749x^3+756x^2-70
-284x^5+27x^2+802x-51
878x^4-30x^3+76x^2-693x-879
-418x^2-359
-206x^5+582x^4-841x-129
-932x-634
357x^5-837x^4+275x^3+266x^2+848x-727
624x^4+913x^3+82x^2-724
-515x^5-876x^4+777x^3-209x^2
-788x^5-154x^3+427x^2+899x
788x^5-133x^4-422x^3-792
881x^5-358x^4+23x^3+98x^2+952
856x^4-592x^2+817
135x^4+30x^2-201x
-494x^5+811x^3+407x^2+441x-79
896x^3+718x^2
-608x^4+401x^3+578x+780
238x^4-657x^3-249x
17x^5+555x^4+456x^3+980x^2-840x
-187x^4-647
-887x^5-655x^4-582x^3-737x^2-125x+716
-363x^5+290x^4+605x^3+165x^2+979x+736
261x^5-491x^4+973x^2+167x+270
-822x^5-391x^4+953x-657
624x^3-828x^2+771
281x^5+637x^3-489x^2+907
768x^5+434x^4+280x^3-93
-10x^5-493x^3+108x
982x^5+312x^4+956x^3-104x+145
-380x^3+477x^2-742x-655
-67x^4-437x^3+64x^2-893x+544
56x^5+819x^4-586x^3+813x^2-191x
169x^4+212x^3+436x^2+867x+761
719x^5-51x^4+679
106x^5-679x^4-133x^3+36x-711
-676x^4+694x+30
827x^5-146x^4+877x^3-563x^2-515x-450
775x^5-337x^4+864x^3+786
52x^4-519x^3+563x-697
359x^5-560x^3+126x^2+640x+308
-538x^5-950x^2+180x+259
-458x^5-800x^3+209x^2+541x+420
892x^5-408x^4+271x^3-541x^2-633x+394
452x^5+5x^4-790x^2-975x
-684x^5+780x^4-450x-772
-878x^5-69x^4-863x^3+553x^2-428
-563x^5+627x^4-608x^3-864x-705
-476x^5+931x^3+713x^2+479x+373
-332x^5+721x^4+894x^3
-159x^5+856x^3+118x
861x^5-64x^4-174x^3-737x+740
180x^4+625x^2+215x-623
-144x^5+801x^3+556x^2-771x-667
-257x^4+741x^2+803
736x^2+378x-943
-819x^3-775
81x^4+277x^2+595x
-202x^5-50x^3-445x^2-153
471x^5-936x^4+85x^2+509x
-265x^3+286x^2+290x-36
10x^5+998x^4-106x^3-846x^2+666x+312
197x^5+710x^3-322x^2-727x
-76x^5-323x^4+95x^3+931x^2+856x-605
400x^5-14x^4+84x^2-268
-761x^5-485x^4-740x^2+394x-148
-463x^3+707x^2-428
-706x^3+227x-636
303x^5-442x^2-229x-436
-425x^4-548x^2
-477x^5+266x^3-552x^2+499x
-636x^5+194x^2+12x+159
146x^5-261x^3-973x^2+566x+703
-246x^5+731x^4-921x^3+230x
-805x^4-476x^3-374x^2
-582x^5+332x^4+881x^2+227
243x^3-204x
-415x^5-562x^4+583x^3-896x
-365x^4+855x^2-672
527x^5-95x^2-107
408x^5-260x^4+679x^3-679x^2-160x+606
-788x^5-972x^4-13x^2
-736x^5+473x^4-246x^3-379x^2+587x-859
-374x^5-364x^3+901x^2-625x-146
-135x^5-996x^4-327x^3+274x^2-289x
-226x^3+498
-287x^5-974x^4+800x^3+282x^2-800x
734x^5+301x^4-111x^3+736x
527x^4-208x^2+809x

Sample output:

1110x^4+2253x^2-1818x
3245x^4+648x^2+282x
-2040x^3+660x^2+992x
260x^4+3180x^3+1857x^2-90x
-2920x^4+348x^3-544
4120x^4-3376x^3+1804x+915
1985x^4+627x^2+1206x-701
900x^2
3356x^3+1299x^2-1922x+350
1765x^4+2355x^2+1534x
-445x^4+2672x^3-1938x^2+1350x-207
-1575x^2-1812x-38
-464x^3+2247x^2+1512x
-1420x^4+54x+802
3512x^3-90x^2+152x-693
-836x
-1030x^4+2328x^3-841
-932
1785x^4-3348x^3+825x^2+532x+848
2496x^3+2739x^2+164x
-2575x^4-3504x^3+2331x^2-418x
-3940x^4-462x^2+854x+899
3940x^4-532x^3-1266x^2
4405x^4-1432x^3+69x^2+196x
3424x^3-1184x
540x^3+60x-201
-2470x^4+2433x^2+814x+441
2688x^2+1436x
-2432x^3+1203x^2+578
952x^3-1971x^2-249
85x^4+2220x^3+1368x^2+1960x-840
-748x^3
-4435x^4-2620x^3-1746x^2-1474x-125
-1815x^4+1160x^3+1815x^2+330x+979
1305x^4-1964x^3+1946x+167
-4110x^4-1564x^3+953
1872x^2-1656x
1405x^4+1911x^2-978x
3840x^4+1736x^3+840x^2
-50x^4-1479x^2+108
4910x^4+1248x^3+2868x^2-104
-1140x^2+954x-742
-268x^3-1311x^2+128x-893
280x^4+3276x^3-1758x^2+1626x-191
676x^3+636x^2+872x+867
3595x^4-204x^3
530x^4-2716x^3-399x^2+36
-2704x^3+694
4135x^4-584x^3+2631x^2-1126x-515
3875x^4-1348x^3+2592x^2
208x^3-1557x^2+563
1795x^4-1680x^2+252x+640
-2690x^4-1900x+180
-2290x^4-2400x^2+418x+541
4460x^4-1632x^3+813x^2-1082x-633
2260x^4+20x^3-1580x-975
-3420x^4+3120x^3-450
-4390x^4-276x^3-2589x^2+1106x
-2815x^4+2508x^3-1824x^2-864
-2380x^4+2793x^2+1426x+479
-1660x^4+2884x^3+2682x^2
-795x^4+2568x^2+118
4305x^4-256x^3-522x^2-737
720x^3+1250x+215
-720x^4+2403x^2+1112x-771
-1028x^3+1482x
1472x+378
-2457x^2
324x^3+554x+595
-1010x^4-150x^2-890x
2355x^4-3744x^3+170x+509
-795x^2+572x+290
50x^4+3992x^3-318x^2-1692x+666
985x^4+2130x^2-644x-727
-380x^4-1292x^3+285x^2+1862x+856
2000x^4-56x^3+168x
-3805x^4-1940x^3-1480x+394
-1389x^2+1414x
-2118x^2+227
1515x^4-884x-229
-1700x^3-1096x
-2385x^4+798x^2-1104x+499
-3180x^4+388x+12
730x^4-783x^2-1946x+566
-1230x^4+2924x^3-2763x^2+230
-3220x^3-1428x^2-748x
-2910x^4+1328x^3+1762x
729x^2-204
-2075x^4-2248x^3+1749x^2-896
-1460x^3+1710x
2635x^4-190x
2040x^4-1040x^3+2037x^2-1358x-160
-3940x^4-3888x^3-26x
-3680x^4+1892x^3-738x^2-758x+587
-1870x^4-1092x^2+1802x-625
-675x^4-3984x^3-981x^2+548x-289
-678x^2
-1435x^4-3896x^3+2400x^2+564x-800
3670x^4+1204x^3-333x^2+736
2108x^3-416x+809

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1mitchs750.03712015/08/20 04:49:350B / 26B / 47B
2Histocrat980.05012015/08/11 05:39:590B / 35B / 60B

Perl _

RankUserSizeTimeDateStatistics
1tails590.02782015/08/11 10:12:410B / 17B / 40B
2llhuii590.02972015/08/19 00:56:410B / ?B / ?B
3mitchs590.03492015/08/19 18:48:360B / 17B / 40B
4shlomif590.02722015/08/20 20:19:170B / 17B / 40B
5mitchs (alt)590.02582015/08/21 18:22:260B / 17B / 40B
6angel610.02542015/08/11 08:48:270B / ?B / ?B
7%20630.02762015/08/11 16:49:520B / 18B / 43B
8brx630.03422015/08/23 20:30:440B / 18B / 43B
9BioFALSE690.02702015/08/10 00:35:520B / 23B / 45B
10%20(tails)580.03032015/10/04 18:13:020B / 17B / 39B

Python _

RankUserSizeTimeDateStatistics
1xsot1300.06182015/08/22 09:07:350B / 66B / 59B
2llhuii1340.07612015/08/17 23:36:590B / ?B / ?B
3whatisgolf1340.08842015/08/22 09:52:360B / ?B / ?B
4llhuii(alt)1350.07202015/08/22 21:14:180B / ?B / ?B
5mitchs1390.07622015/08/19 19:13:050B / 69B / 63B
6llhuii(noimport)1430.07822015/08/22 20:58:270B / ?B / ?B
7hallvabo1440.07252015/08/14 05:38:470B / 68B / 64B
8hallvabo (noimport)1480.07442015/08/22 06:52:420B / 63B / 77B
9shlomif1530.07512015/08/20 22:01:250B / 78B / 70B
10rolf1800.06162015/08/13 04:01:060B / 91B / 74B
11hallvabo (xsot)1290.09192015/08/25 04:59:040B / 65B / 61B

Python3 _

RankUserSizeTimeDateStatistics
1xsot1280.13362015/08/23 13:46:200B / 67B / 56B
2llhuii1370.15262015/08/22 21:18:270B / ?B / ?B

Scheme _

RankUserSizeTimeDateStatistics
1kaki1700.09672015/08/10 01:26:020B / 68B / 97B

JavaScript _

RankUserSizeTimeDateStatistics
1FizzyTea1090.04352015/08/22 12:06:370B / 48B / 61B

C _

RankUserSizeTimeDateStatistics
1llhuii1580.02182015/08/22 18:35:040B / ?B / ?B

Haskell _

RankUserSizeTimeDateStatistics
1henkma1490.03302015/08/23 22:07:530B / 77B / 66B

ObjC _

RankUserSizeTimeDateStatistics
1llhuii1580.02152015/08/22 18:54:270B / ?B / ?B

AWK _

RankUserSizeTimeDateStatistics
1llhuii960.02342015/08/21 02:07:060B / ?B / ?B

sed _

RankUserSizeTimeDateStatistics
1tails1930.09062015/08/10 22:55:340B / 63B / 115B
2%203030.13542015/08/11 16:19:020B / 89B / 184B

Bash _

RankUserSizeTimeDateStatistics
1llhuii410.03182015/08/22 20:14:090B / ?B / ?B
2mitchs410.03322015/08/22 22:32:220B / 15B / 20B
3tails430.04162015/08/10 19:34:040B / 14B / 25B

Zsh _

RankUserSizeTimeDateStatistics
1llhuii420.03202015/08/22 20:15:200B / ?B / ?B
2mitchs420.05362015/08/22 22:35:440B / 14B / 22B

Fish _

RankUserSizeTimeDateStatistics
1llhuii420.06402015/08/22 20:15:140B / ?B / ?B
2mitchs420.05532015/08/22 22:35:520B / 15B / 21B

xgawk _

RankUserSizeTimeDateStatistics
1llhuii960.02672015/08/21 02:19:230B / ?B / ?B

GolfScript _

RankUserSizeTimeDateStatistics
1tails560.33262015/08/10 16:58:540B / 7B / 49B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs410.27592015/08/21 18:12:3214B / 8B / 19B

goruby _

RankUserSizeTimeDateStatistics
1mitchs671.52422015/08/23 15:10:430B / 20B / 47B

Language Ranking_

RankLangUserSizeScore
1gs2mitchs4110000
2Bashllhuii4110000
3Fishllhuii429761
4Zshllhuii429761
5GolfScripttails567321
6Perl%20(tails)587068
7gorubymitchs676119
8Rubymitchs755466
9AWKllhuii964270
10xgawkllhuii964270
11JavaScriptFizzyTea1093761
12Python3xsot1283203
13Pythonhallvabo (xsot)1293178
14Haskellhenkma1492751
15Cllhuii1582594
16ObjCllhuii1582594
17Schemekaki1702411
18sedtails1932124

return top