Central binomial coefficient

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 an integer N compute the Nth central binomial coefficient.

The first line of the input is the number of test cases,then T test cases follows.

Options

exec is denied

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

Sample input:_

14
1
2
3
4
5
6
7
8
9
10
11
12
13
14

Sample output:

2
6
20
70
252
924
3432
12870
48620
184756
705432
2704156
10400600
40116600

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid290.01582011/04/20 13:46:110B / 12B / 17B

Perl _

RankUserSizeTimeDateStatistics
1tails270.00192011/04/21 18:09:280B / 11B / 15B
2teebee290.01282011/04/21 15:11:580B / 14B / 15B

Python _

RankUserSizeTimeDateStatistics
1leonid400.02632011/04/20 13:39:260B / 23B / 15B
2twobit420.02852011/04/20 01:53:130B / 23B / 17B
3hallvabo440.02652011/04/20 07:19:270B / 27B / 16B
4recursive490.02902011/04/20 01:34:420B / 25B / 24B
5This is a duplicate of the recent challenge PATHS570.02762011/04/19 04:53:380B / 31B / 26B

Scheme _

RankUserSizeTimeDateStatistics
1youz560.08522011/04/22 01:52:530B / 22B / 27B
2dico_leque590.04022011/04/21 08:54:580B / 23B / 30B
3murky-satyr600.03452011/04/21 05:18:350B / 26B / 28B
4kaki(youz)540.02112013/03/25 06:48:150B / 19B / 30B

Common LISP _

RankUserSizeTimeDateStatistics
1youz580.04222011/04/21 12:00:310B / 23B / 27B

Arc _

RankUserSizeTimeDateStatistics
1murky-satyr382.54922011/04/22 00:40:360B / 17B / 14B
2youz382.02272011/04/22 01:47:330B / 17B / 14B

Clojure _

RankUserSizeTimeDateStatistics
1murky-satyr482.50832011/04/21 05:21:310B / 23B / 21B
2youz481.79952011/04/22 01:44:120B / 23B / 21B

Io _

RankUserSizeTimeDateStatistics
1pooq810.24892011/04/19 10:00:380B / 66B / 2B
2pooq370.33402011/04/23 21:06:200B / 21B / 16B

JavaScript _

RankUserSizeTimeDateStatistics
1nn330.00312011/04/20 00:25:170B / 18B / 15B
2murky-satyr330.00032011/04/21 04:39:500B / 13B / 20B

Lua _

RankUserSizeTimeDateStatistics
1murky-satyr400.02592011/04/21 04:42:110B / 23B / 13B
2twobit420.13382011/04/21 23:08:550B / 26B / 12B

Xtal _

RankUserSizeTimeDateStatistics
1pooq790.02172011/04/19 09:57:490B / 62B / 4B
2pooq330.15632011/04/23 21:28:560B / 18B / 14B

REXX _

RankUserSizeTimeDateStatistics
1pooq400.02372012/04/13 18:05:100B / 23B / 9B

PARI/GP _

RankUserSizeTimeDateStatistics
1teebee330.02272012/03/26 20:21:440B / 19B / 14B
2pooq370.02092012/03/26 01:18:370B / 21B / 15B

Cyan _

RankUserSizeTimeDateStatistics
1pooq320.53662011/12/20 20:26:060B / 19B / 12B

Prolog _

RankUserSizeTimeDateStatistics
1pooq600.02052011/12/20 20:48:050B / 30B / 23B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*340.00102011/04/19 22:39:390B / 22B / 10B
2pooq770.01252011/04/19 09:54:120B / 61B / 3B

J _

RankUserSizeTimeDateStatistics
1pooq180.03832011/04/19 10:29:520B / 9B / 9B
2medialuna620.02342014/08/14 15:11:300B / ?B / ?B

Jelly _

RankUserSizeTimeDateStatistics
1Erik the Outgolfer70.15602021/04/06 22:59:062B / 4B / 1B

C _

RankUserSizeTimeDateStatistics
1inaniwa490.00032011/04/20 08:34:170B / ?B / ?B
2kou490.00042011/04/20 13:08:370B / 24B / 25B
3leonid490.00042011/04/20 15:40:280B / 24B / 25B
4Reputeless510.00042011/04/20 00:04:020B / 26B / 25B
5nn510.00032011/04/20 00:24:160B / 26B / 25B
6twobit560.00042011/04/20 06:15:560B / 27B / 29B
7Debanjan690.00042011/04/20 05:25:380B / ?B / ?B

OCaml _

RankUserSizeTimeDateStatistics
1m.ukai870.04182011/04/19 20:38:120B / 45B / 40B
2pooq880.03672011/04/19 19:57:450B / 72B / 3B

Pascal _

RankUserSizeTimeDateStatistics
1*yuko*750.00032011/04/19 22:27:500B / 52B / 18B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*490.00092011/04/19 22:22:150B / 30B / 18B
2sha510.00032011/04/19 13:03:520B / 30B / 20B
3*yuko*460.01322011/12/03 01:16:380B / 27B / 17B

COBOL _

RankUserSizeTimeDateStatistics
1*yuko*1160.00052011/04/19 22:59:590B / 95B / 7B

Maxima _

RankUserSizeTimeDateStatistics
1pooq350.12942011/04/19 09:52:150B / 20B / 15B

Octave _

RankUserSizeTimeDateStatistics
1inaniwa440.42692011/04/21 12:57:180B / 29B / 14B

REBOL _

RankUserSizeTimeDateStatistics
1pooq530.14672011/04/24 11:39:210B / 28B / 12B

Asymptote _

RankUserSizeTimeDateStatistics
1teebee380.10672011/12/22 02:42:440B / 24B / 13B
2pooq470.10132011/12/20 19:56:420B / 27B / 19B

AWK _

RankUserSizeTimeDateStatistics
1teebee190.00082011/04/21 15:58:480B / 6B / 13B
2hemflit230.06752011/04/20 21:03:330B / 10B / 13B

R _

RankUserSizeTimeDateStatistics
1clock300.14852012/10/25 14:35:280B / 20B / 10B
2teebee330.14652012/10/25 14:32:050B / 18B / 14B
3pooq390.14472012/10/25 07:42:290B / 23B / 14B

QCL _

RankUserSizeTimeDateStatistics
1pooq480.01642011/04/23 21:21:400B / 30B / 13B

GolfScript _

RankUserSizeTimeDateStatistics
1narb190.11832011/04/21 17:14:500B / 4B / 15B
2nn190.04562011/04/21 23:00:190B / 5B / 14B
3twobit230.05712011/04/20 05:57:540B / 6B / 17B
4nooodl290.06432011/04/19 21:16:020B / ?B / ?B

FlogScript _

RankUserSizeTimeDateStatistics
1zzo38(not-genuine)200.05482011/06/07 13:06:370B / 5B / 14B

Burlesque _

RankUserSizeTimeDateStatistics
1mroman (Hendrik)120.01272015/05/26 19:49:570B / 9B / 3B
2Hendrik130.01262014/05/18 06:37:010B / 8B / 5B

goruby _

RankUserSizeTimeDateStatistics
1leonid270.04902011/04/21 05:34:560B / 13B / 12B
2murky-satyr280.25502011/04/21 04:34:340B / 10B / 16B

Groovy _

RankUserSizeTimeDateStatistics
1nn352.05402011/04/20 01:01:400B / 23B / 11B

Scala _

RankUserSizeTimeDateStatistics
1murky-satyr498.98252011/04/21 05:08:100B / 28B / 17B

Logo _

RankUserSizeTimeDateStatistics
1teebee370.01542011/04/21 15:19:470B / 20B / 13B
2pooq840.00242011/04/19 20:00:150B / 66B / 3B

Language Ranking_

RankLangUserSizeScore
1JellyErik the Outgolfer710000
2Burlesquemroman (Hendrik)125833
3Jpooq183888
4AWKteebee193684
5GolfScriptnarb193684
6FlogScriptzzo38(not-genuine)203500
7gorubyleonid272592
8Perltails272592
9Rubyleonid292413
10Rclock302333
11Cyanpooq322187
12JavaScriptnn332121
13Xtalpooq332121
14PARI/GPteebee332121
15BASIC*yuko*342058
16Maximapooq352000
17Groovynn352000
18Logoteebee371891
19Iopooq371891
20Arcmurky-satyr381842
21Asymptoteteebee381842
22Pythonleonid401750
23Luamurky-satyr401750
24REXXpooq401750
25Octaveinaniwa441590
26Fortran*yuko*461521
27Clojuremurky-satyr481458
28QCLpooq481458
29Cinaniwa491428
30Scalamurky-satyr491428
31REBOLpooq531320
32Schemekaki(youz)541296
33Common LISPyouz581206
34Prologpooq601166
35Pascal*yuko*75933
36OCamlm.ukai87804
37COBOL*yuko*116603

return to the top page