nth root of v

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

Calculate the nth root of v, to 100 places of accuracy, including decimal point.

Input is space separated and newline terminated, with the first value being n (the root to take), and the second value being v (the value to take the nth root of).

Options

exec is denied

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

Sample input:_

2 5

Sample output:

2.2360679774997896964091736687312762354406183596115257242708972454105209256378048994144144083787822749

Sample input:_

17 7

Sample output:

1.1212737354259455397905181804628922328183935054716891019982830977038246186506909374347728810421881502

Sample input:_

61 283

Sample output:

1.0969661344919997447627754812609964729753082468076605911429007496769176765491497813430789558920004463

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1flagitious810.61622009/07/01 05:37:110B / 27B / 52B
2primo840.57962009/06/30 22:18:550B / 38B / 44B
3shinh850.69602009/07/09 04:29:480B / 34B / 49B
4uru920.87992009/06/30 20:24:400B / 37B / 51B
5yowa980.95882009/07/06 03:59:450B / 49B / 43B
6shinh (primo, flagitious)790.88892009/07/10 06:32:371B / 35B / 41B
7flagitious800.90742009/07/10 03:50:161B / 34B / 43B
8shinh (primo)810.62832009/07/10 02:58:590B / 36B / 44B

Perl _

RankUserSizeTimeDateStatistics
1teebee( primo)462.09652011/03/08 11:38:140B / 24B / 20B
2primo (bignum)481.25082010/04/14 03:07:350B / 24B / 21B

Python _

RankUserSizeTimeDateStatistics
1primo1020.14902009/07/02 03:56:400B / 54B / 45B
2hallvabo1030.74362009/06/29 02:40:050B / 56B / 44B

PHP _

RankUserSizeTimeDateStatistics
1o-cn1300.98092010/02/27 14:49:030B / 74B / 56B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima820.29942009/06/26 18:50:110B / 53B / 27B

Arc _

RankUserSizeTimeDateStatistics
1murky-satyr1324.98052009/12/31 11:27:140B / 63B / 52B

REXX _

RankUserSizeTimeDateStatistics
1*yuko*740.54802014/03/26 21:16:080B / 49B / 19B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*2240.07952009/06/26 20:50:2244B / 103B / 72B

Erlang _

RankUserSizeTimeDateStatistics
151b2592.28472009/07/11 21:00:020B / 126B / 122B

J _

RankUserSizeTimeDateStatistics
1I., S.450.51322011/03/09 05:56:150B / 11B / 34B

C _

RankUserSizeTimeDateStatistics
151b2181.29322009/06/27 20:49:330B / 108B / 110B
251b2161.30442009/07/11 23:04:410B / 105B / 111B

D _

RankUserSizeTimeDateStatistics
151b2391.38052009/07/11 21:38:100B / 126B / 110B

OCaml _

RankUserSizeTimeDateStatistics
1m.ukai (embed)3510.13582010/09/21 18:03:420B / 326B / 24B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa1800.54372009/07/01 00:31:140B / ?B / ?B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*2240.05892009/06/26 21:33:0345B / 105B / 71B

Maxima _

RankUserSizeTimeDateStatistics
1pooq780.72832009/06/29 10:19:180B / 51B / 27B
2pooq621.30022009/11/29 02:12:400B / 34B / 28B

bc _

RankUserSizeTimeDateStatistics
1teebee420.17222012/02/26 10:03:040B / 23B / 18B

Postscript _

RankUserSizeTimeDateStatistics
1yshl(embed)1891.20082009/07/12 00:06:1295B / 60B / 34B

Groovy _

RankUserSizeTimeDateStatistics
1murky-satyr1104.05252009/12/03 03:35:530B / 61B / 44B

Language Ranking_

RankLangUserSizeScore
1bcteebee4210000
2JI., S.459333
3Perlteebee( primo)469130
4Maximapooq626774
5REXX*yuko*745675
6Rubyshinh (primo, flagitious)795316
7Common LISPkozima825121
8Pythonprimo1024117
9Groovymurky-satyr1103818
10PHPo-cn1303230
11Arcmurky-satyr1323181
12Haskellnotogawa1802333
13Postscriptyshl(embed)1892222
14C51b2161944
15BASIC*yuko*2241875
16Fortran*yuko*2241875
17D51b2391757
18Erlang51b2591621
19OCamlm.ukai (embed)3511196

return to the top page