pascal triangle

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

pascal's triangle

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

*NOTHING*

Sample output:

1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1 8 28 56 70 56 28 8 1
1 9 36 84 126 126 84 36 9 1
1 10 45 120 210 252 210 120 45 10 1
1 11 55 165 330 462 462 330 165 55 11 1
1 12 66 220 495 792 924 792 495 220 66 12 1
1 13 78 286 715 1287 1716 1716 1287 715 286 78 13 1
1 14 91 364 1001 2002 3003 3432 3003 2002 1001 364 91 14 1
1 15 105 455 1365 3003 5005 6435 6435 5005 3003 1365 455 105 15 1
1 16 120 560 1820 4368 8008 11440 12870 11440 8008 4368 1820 560 120 16 1
1 17 136 680 2380 6188 12376 19448 24310 24310 19448 12376 6188 2380 680 136 17 1
1 18 153 816 3060 8568 18564 31824 43758 48620 43758 31824 18564 8568 3060 816 153 18 1
1 19 171 969 3876 11628 27132 50388 75582 92378 92378 75582 50388 27132 11628 3876 969 171 19 1
1 20 190 1140 4845 15504 38760 77520 125970 167960 184756 167960 125970 77520 38760 15504 4845 1140 190 20 1
1 21 210 1330 5985 20349 54264 116280 203490 293930 352716 352716 293930 203490 116280 54264 20349 5985 1330 210 21 1
1 22 231 1540 7315 26334 74613 170544 319770 497420 646646 705432 646646 497420 319770 170544 74613 26334 7315 1540 231 22 1
1 23 253 1771 8855 33649 100947 245157 490314 817190 1144066 1352078 1352078 1144066 817190 490314 245157 100947 33649 8855 1771 253 23 1
1 24 276 2024 10626 42504 134596 346104 735471 1307504 1961256 2496144 2704156 2496144 1961256 1307504 735471 346104 134596 42504 10626 2024 276 24 1
1 25 300 2300 12650 53130 177100 480700 1081575 2042975 3268760 4457400 5200300 5200300 4457400 3268760 2042975 1081575 480700 177100 53130 12650 2300 300 25 1
1 26 325 2600 14950 65780 230230 657800 1562275 3124550 5311735 7726160 9657700 10400600 9657700 7726160 5311735 3124550 1562275 657800 230230 65780 14950 2600 325 26 1
1 27 351 2925 17550 80730 296010 888030 2220075 4686825 8436285 13037895 17383860 20058300 20058300 17383860 13037895 8436285 4686825 2220075 888030 296010 80730 17550 2925 351 27 1
1 28 378 3276 20475 98280 376740 1184040 3108105 6906900 13123110 21474180 30421755 37442160 40116600 37442160 30421755 21474180 13123110 6906900 3108105 1184040 376740 98280 20475 3276 378 28 1
1 29 406 3654 23751 118755 475020 1560780 4292145 10015005 20030010 34597290 51895935 67863915 77558760 77558760 67863915 51895935 34597290 20030010 10015005 4292145 1560780 475020 118755 23751 3654 406 29 1
1 30 435 4060 27405 142506 593775 2035800 5852925 14307150 30045015 54627300 86493225 119759850 145422675 155117520 145422675 119759850 86493225 54627300 30045015 14307150 5852925 2035800 593775 142506 27405 4060 435 30 1
1 31 465 4495 31465 169911 736281 2629575 7888725 20160075 44352165 84672315 141120525 206253075 265182525 300540195 300540195 265182525 206253075 141120525 84672315 44352165 20160075 7888725 2629575 736281 169911 31465 4495 465 31 1
1 32 496 4960 35960 201376 906192 3365856 10518300 28048800 64512240 129024480 225792840 347373600 471435600 565722720 601080390 565722720 471435600 347373600 225792840 129024480 64512240 28048800 10518300 3365856 906192 201376 35960 4960 496 32 1
1 33 528 5456 40920 237336 1107568 4272048 13884156 38567100 92561040 193536720 354817320 573166440 818809200 1037158320 1166803110 1166803110 1037158320 818809200 573166440 354817320 193536720 92561040 38567100 13884156 4272048 1107568 237336 40920 5456 528 33 1

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1Histocrat420.01272015/10/01 07:32:100B / 19B / 22B
2leonid430.00012010/01/21 03:33:060B / ?B / ?B
3ukzk430.00012010/02/09 21:28:380B / 17B / 24B
4yvl430.01862010/05/22 03:54:210B / 17B / 25B
5J-_-L430.01382011/03/15 10:57:290B / 17B / 25B
6eban450.00012010/01/16 21:58:430B / 20B / 24B
7jpl450.01172014/06/30 21:06:310B / ?B / ?B
8NHK540.01092015/06/08 07:36:000B / 27B / 24B
9nhk560.01162015/06/08 06:44:590B / ?B / ?B
10yosio580.00522011/03/21 11:48:170B / ?B / ?B
11Zauberer630.00752011/03/20 00:55:310B / 27B / 33B
12Aqr640.00012010/02/22 04:36:310B / ?B / ?B
13lpm11800.00572010/02/11 15:55:290B / ?B / ?B
14tomluce940.01152015/05/30 01:31:020B / ?B / ?B
15Yosio960.05762012/10/10 00:46:260B / 44B / 50B
16ittan1180.07172010/03/30 17:53:092B / ?B / ?B
17Anon1180.01232015/05/30 09:01:470B / ?B / ?B
182200.01442015/06/07 14:24:090B / 120B / 42B

Perl _

RankUserSizeTimeDateStatistics
1Terje K390.00012010/01/28 23:45:320B / 16B / 22B
2teebee390.00422011/01/07 19:22:120B / 16B / 21B
3tails390.01092016/07/04 18:32:470B / 16B / 21B
4prakash430.00012010/02/01 23:12:270B / 19B / 23B
5Mithran480.00012010/03/18 23:23:370B / 19B / 25B
6corruptio490.00012010/02/05 03:33:290B / 19B / 29B
7unau680.00012010/03/12 09:28:200B / 23B / 43B
8tobbe690.00012010/01/22 22:40:460B / ?B / ?B
9%20880.01412015/03/17 18:26:240B / 34B / 53B

Python _

RankUserSizeTimeDateStatistics
1leonid620.04152013/04/18 05:40:210B / ?B / ?B
2llhuii620.04322015/07/15 23:49:130B / ?B / ?B
3hallvabo630.06142010/01/17 01:29:470B / ?B / ?B
4xsot640.03202016/09/04 12:52:520B / 39B / 23B
5Defenestrator650.03632010/01/19 11:25:010B / 36B / 28B
6Hendrik680.02802011/09/12 05:12:360B / 37B / 30B
7starmie680.03652015/03/05 20:03:590B / 37B / 30B
8tobiesque690.00612010/02/14 20:36:590B / 38B / 30B
9twobit690.06852012/03/22 10:54:390B / 38B / 29B
10Exelian740.02702011/08/31 04:08:221B / 41B / 27B
11kotauchi1010.00442010/03/16 21:01:271B / ?B / ?B
12croyal1110.00402010/03/06 01:08:350B / ?B / ?B
13chiz1180.00232010/02/05 15:34:376B / ?B / ?B
14whdidthis1420.03692011/02/08 21:22:494B / ?B / ?B

Python3 _

RankUserSizeTimeDateStatistics
1mitchs570.06332015/09/23 05:03:590B / 28B / 28B
2llhuii720.06372015/07/15 23:54:250B / ?B / ?B
3Stephan W.750.05992015/07/15 18:28:460B / 41B / 27B
4z423x5c6920.05282014/08/13 22:45:290B / ?B / ?B

PHP _

RankUserSizeTimeDateStatistics
1primo570.02832011/12/20 17:19:102B / 20B / 35B
2o-cn630.01652010/02/21 12:50:252B / 20B / 41B
3daira940.02772010/04/01 17:33:360B / 35B / 57B
4Korvin1090.02362011/10/26 04:21:372B / ?B / ?B

Scheme _

RankUserSizeTimeDateStatistics
1kaki800.02362012/11/29 01:15:190B / 28B / 47B
2pla940.00022010/01/19 01:10:330B / 47B / 38B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima710.02812010/01/20 18:08:160B / 28B / 39B
2youz740.03112010/01/21 10:44:150B / 30B / 42B

Arc _

RankUserSizeTimeDateStatistics
1youz601.56922010/01/20 10:10:560B / 21B / 29B

Clojure _

RankUserSizeTimeDateStatistics
1murky-satyr621.80652011/03/20 09:48:440B / 30B / 28B

Io _

RankUserSizeTimeDateStatistics
1teebee590.10202016/07/05 17:38:120B / 34B / 23B
2pooq730.11632010/01/26 13:14:020B / 41B / 31B

JavaScript _

RankUserSizeTimeDateStatistics
1clock600.01582013/01/28 10:05:400B / 30B / 29B
2nn620.00012010/03/14 17:00:370B / 30B / 31B
30mg630.00642011/04/10 18:26:470B / 31B / 30B
4xulapp640.00012010/03/14 16:46:020B / 32B / 32B
5kaki720.02522010/01/20 00:55:400B / 37B / 35B
6ktt740.00012010/01/19 18:40:450B / 34B / 39B

Lua _

RankUserSizeTimeDateStatistics
1teebee730.00012016/07/05 17:45:000B / 45B / 18B
2clock740.01562013/01/28 10:02:450B / 42B / 20B
3twobit740.01452013/02/16 02:12:420B / 42B / 20B

Tcl _

RankUserSizeTimeDateStatistics
1clock1170.02662013/01/28 10:25:330B / 64B / 35B

REXX _

RankUserSizeTimeDateStatistics
1*yuko*700.01232016/07/16 07:35:000B / 41B / 23B
2teebee750.01662016/07/05 17:59:060B / 43B / 26B
3clock810.00022013/02/03 03:04:570B / 52B / 10B

PARI/GP _

RankUserSizeTimeDateStatistics
1teebee560.03692012/11/03 16:02:350B / 29B / 26B
2clock560.01022013/01/28 10:38:320B / 29B / 26B
3mitchs560.01122015/02/27 13:47:550B / 29B / 26B

Smalltalk _

RankUserSizeTimeDateStatistics
1clock750.03232013/01/07 08:33:520B / 44B / 28B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*510.00022011/06/15 03:17:400B / 33B / 13B
2clock510.00012013/03/28 23:36:460B / 33B / 10B
3teebee510.00012013/03/29 04:23:470B / 33B / 10B
4Carlos Gutierrez580.00012010/05/01 09:38:220B / 35B / 14B
5nn600.00012010/02/20 15:09:150B / 35B / 16B

Perl6 _

RankUserSizeTimeDateStatistics
1murky-satyr364.17312010/08/09 12:22:480B / 11B / 24B

J _

RankUserSizeTimeDateStatistics
1I., S.240.04892012/05/10 21:26:160B / 9B / 14B
2pooq300.02162010/02/01 10:52:100B / 13B / 17B
3dtlin300.02722011/11/05 13:42:230B / 9B / 21B
4Hendrik860.02782011/11/06 07:16:480B / 40B / 26B

K _

RankUserSizeTimeDateStatistics
1teebee210.01052012/08/03 23:40:280B / 8B / 13B
2twobit210.01062012/08/04 00:06:180B / 8B / 13B
3clock210.01042013/04/13 03:54:180B / 8B / 13B

C _

RankUserSizeTimeDateStatistics
1ozy4dm720.00012013/06/04 01:10:160B / 33B / 38B
2nn730.00012010/01/23 20:13:220B / 32B / 40B
3ush730.00012013/04/30 14:53:150B / 31B / 41B
4ciel730.00012013/05/29 16:37:500B / ?B / ?B
5llhuii730.00012015/07/16 00:59:530B / ?B / ?B
651b740.00022010/03/28 18:41:200B / 33B / 40B
7hogeover30740.00012013/05/02 00:25:560B / 32B / 41B
8coeurl750.00012013/05/21 13:48:590B / ?B / ?B
9saru770.00012013/04/30 11:52:440B / 32B / 44B
10inaniwa790.00012010/01/24 12:20:280B / 35B / 44B
11hoyohoyo790.00012010/02/19 15:02:310B / 36B / 43B
12pandamonium820.00012013/04/25 00:29:200B / 38B / 43B
13csanders840.00012010/11/19 10:20:470B / 39B / 44B
14naoya_t840.01092013/05/01 00:24:360B / 43B / 39B
15hallvabo950.00012010/03/11 08:30:160B / 54B / 39B
16msk980.00012010/02/24 15:27:420B / 59B / 39B
17ichirin1060.00012010/02/19 16:11:350B / 48B / 58B
18roxion13771080.00362011/02/04 12:17:360B / ?B / ?B
19abf1100.00012013/05/21 20:16:320B / ?B / ?B

C++ _

RankUserSizeTimeDateStatistics
1nn930.00012010/02/16 00:05:260B / 45B / 45B

D _

RankUserSizeTimeDateStatistics
151b850.00052010/03/28 18:48:500B / 45B / 38B

Go _

RankUserSizeTimeDateStatistics
1uru1280.02062010/01/17 11:46:000B / 84B / 37B

OCaml _

RankUserSizeTimeDateStatistics
1xsd1030.02792010/01/18 02:45:210B / 62B / 31B
2ksk1040.02812010/01/17 01:28:140B / 46B / 51B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa730.00012010/01/16 23:21:590B / ?B / ?B
2rst76730.00012010/01/18 11:49:200B / 45B / 25B
3tttaki810.00012010/02/19 20:47:340B / 52B / 26B
4Lost_dog850.00012010/01/18 18:29:030B / 50B / 33B
5sa1090.01282012/12/14 20:26:502B / ?B / ?B
6pi80271100.00012010/03/24 08:54:421B / 74B / 30B

ObjC _

RankUserSizeTimeDateStatistics
1llhuii730.01062015/07/16 01:31:350B / ?B / ?B

Java _

RankUserSizeTimeDateStatistics
1teebee940.19482016/07/05 18:07:280B / 47B / 44B
2hallvabo1000.17512010/08/12 23:13:240B / 51B / 46B
3mellamokb1180.06152011/10/26 12:03:320B / ?B / ?B
4GreaseMonkey2290.09212010/03/11 07:36:130B / 134B / 85B
5ahabiba5670.09432010/02/14 19:02:1924B / 312B / 100B

Pascal _

RankUserSizeTimeDateStatistics
1*yuko*1150.00012010/02/17 16:58:120B / 78B / 26B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*700.01272011/11/11 10:58:350B / 41B / 26B

C# _

RankUserSizeTimeDateStatistics
1teebee1180.05342016/07/05 18:08:530B / 67B / 46B

COBOL _

RankUserSizeTimeDateStatistics
1*yuko*2580.00982011/03/26 22:48:490B / 182B / 31B

Maxima _

RankUserSizeTimeDateStatistics
1clock590.28742013/01/28 10:37:040B / 34B / 25B
2teebee590.31772013/02/23 23:34:310B / 30B / 28B
3pooq690.16832010/01/24 12:49:370B / 34B / 33B

gnuplot _

RankUserSizeTimeDateStatistics
1*yuko*720.07332015/03/08 14:41:250B / 35B / 34B

Octave _

RankUserSizeTimeDateStatistics
1teebee490.25242014/12/29 23:34:580B / 33B / 14B
2inaniwa640.34452011/10/17 08:35:240B / 42B / 19B
3pooq880.47652011/10/17 00:41:550B / 57B / 26B

Asymptote _

RankUserSizeTimeDateStatistics
1teebee720.10932011/12/26 01:38:050B / 35B / 34B
2xulapp750.95112011/01/02 17:18:400B / 43B / 30B

Euphoria _

RankUserSizeTimeDateStatistics
1clock930.00012014/01/28 22:27:420B / 59B / 22B

AWK _

RankUserSizeTimeDateStatistics
1llhuii460.02102014/12/13 12:54:050B / ?B / ?B
2teebee480.01382014/12/13 17:24:130B / 24B / 24B
3nn500.01572012/11/11 00:08:220B / 25B / 25B
4eban580.00012010/01/18 21:43:350B / 27B / 31B

jq _

RankUserSizeTimeDateStatistics
1clock660.01482015/02/10 16:24:070B / 33B / 32B
2teebee700.02642014/12/02 04:43:270B / 39B / 30B

Bash _

RankUserSizeTimeDateStatistics
1llhuii500.06572014/12/13 14:00:420B / 23B / 25B
2Carlos Gutierrez570.00042010/04/13 04:26:290B / 43B / 13B
3eban880.00812010/01/18 22:04:030B / 31B / 47B

Zsh _

RankUserSizeTimeDateStatistics
1llhuii500.10692014/12/13 14:05:530B / 23B / 25B
2Carlos Gutierrez570.00052010/04/13 04:26:560B / 43B / 13B

Fish _

RankUserSizeTimeDateStatistics
1llhuii500.09672014/12/13 14:06:180B / 23B / 25B
2Carlos Gutierrez570.02402010/04/13 04:27:050B / 43B / 13B

bc _

RankUserSizeTimeDateStatistics
1teebee580.00352016/07/04 06:35:170B / 26B / 30B
2Carlos Gutierrez690.11412010/04/09 10:50:260B / 35B / 30B

dc _

RankUserSizeTimeDateStatistics
1Carlos Gutierrez500.04442010/04/09 12:10:460B / 40B / 10B

xgawk _

RankUserSizeTimeDateStatistics
1llhuii470.01182014/03/19 21:10:260B / 24B / 23B

Postscript _

RankUserSizeTimeDateStatistics
1yshl(bin)890.08542010/01/23 21:29:1741B / 31B / 16B
2yshl1601.18762010/01/23 21:29:080B / 113B / 15B

R _

RankUserSizeTimeDateStatistics
1clock390.18782012/10/14 13:57:590B / 26B / 11B
2teebee390.18242012/10/15 02:16:530B / 26B / 11B
3seichung420.19112010/02/16 17:16:150B / 26B / 14B
4pooq490.20422010/01/24 13:21:380B / 25B / 22B
5blafon500.15842011/10/22 19:31:420B / ?B / ?B
6Tomas T500.17722011/10/22 19:32:190B / ?B / ?B

QCL _

RankUserSizeTimeDateStatistics
1teebee990.13152016/07/04 03:49:120B / 57B / 32B
2clock1030.14332013/01/28 09:56:410B / 62B / 31B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs (cheat)2260.09802016/07/05 15:05:490B / 1B / 223B
2mitchs2550.06842016/07/04 22:44:440B / 0B / 255B
3g33k33650.00012013/01/29 18:31:5633B / ?B / ?B
4inaniwa129190.00012010/01/20 13:02:340B / 0B / 12919B

Whitespace _

RankUserSizeTimeDateStatistics
1kaz_u1450.01632015/04/27 23:55:130B / 0B / 0B
2mitchs1470.01792015/03/18 18:02:140B / 0B / 0B
3%201530.02622015/03/18 22:40:360B / 0B / 0B

GolfScript _

RankUserSizeTimeDateStatistics
1narb230.04712011/10/22 12:19:520B / 4B / 18B
2tails230.08092013/06/07 18:53:590B / 4B / 18B
3leonid240.04832010/01/21 03:53:270B / 9B / 14B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs150.10812016/07/03 19:26:195B / 6B / 4B
2whio160.14832015/09/23 06:00:077B / 6B / 2B

Burlesque _

RankUserSizeTimeDateStatistics
1teebee130.04102014/09/17 06:43:300B / 11B / 2B
2Hendrik130.05942014/09/22 15:30:340B / 11B / 2B
3clock130.03722015/01/23 00:08:370B / 11B / 2B

z80 _

RankUserSizeTimeDateStatistics
1*yuko*600.03212011/06/16 06:26:2733B / 11B / 11B

Vim _

RankUserSizeTimeDateStatistics
1pla320.17532010/02/18 00:11:203B / 19B / 9B
2nn400.27352010/01/18 22:50:254B / 29B / 5B

Groovy _

RankUserSizeTimeDateStatistics
1clock601.10632013/01/28 10:09:250B / 33B / 25B
2nn642.31562011/03/21 22:17:020B / 38B / 21B

Scala _

RankUserSizeTimeDateStatistics
1murky-satyr769.07842011/04/10 19:03:000B / 37B / 37B

Logo _

RankUserSizeTimeDateStatistics
1teebee470.02192013/02/25 06:56:060B / 27B / 11B
2clock470.04072013/02/25 09:08:240B / 25B / 15B

Language Ranking_

RankLangUserSizeScore
1Burlesqueteebee1310000
2gs2mitchs158666
3Kteebee216190
4GolfScriptnarb235652
5JI., S.245416
6Vimpla324062
7Perl6murky-satyr363611
8PerlTerje K393333
9Rclock393333
10RubyHistocrat423095
11AWKllhuii462826
12Logoteebee472765
13xgawkllhuii472765
14Octaveteebee492653
15dcCarlos Gutierrez502600
16Bashllhuii502600
17Zshllhuii502600
18Fishllhuii502600
19BASIC*yuko*512549
20PARI/GPteebee562321
21PHPprimo572280
22Python3mitchs572280
23bcteebee582241
24Maximaclock592203
25Ioteebee592203
26Arcyouz602166
27z80*yuko*602166
28JavaScriptclock602166
29Groovyclock602166
30Clojuremurky-satyr622096
31Pythonleonid622096
32jqclock661969
33Fortran*yuko*701857
34REXX*yuko*701857
35Common LISPkozima711830
36Asymptoteteebee721805
37Cozy4dm721805
38gnuplot*yuko*721805
39Haskellnotogawa731780
40ObjCllhuii731780
41Luateebee731780
42Smalltalkclock751733
43Scalamurky-satyr761710
44Schemekaki801625
45D51b851529
46Postscriptyshl(bin)891460
47C++nn931397
48Euphoriaclock931397
49Javateebee941382
50QCLteebee991313
51OCamlxsd1031262
52Pascal*yuko*1151130
53Tclclock1171111
54C#teebee1181101
55Gouru1281015
56Whitespacekaz_u145896
57Brainfuckmitchs (cheat)226575
58COBOL*yuko*258503

return top