bowling scorer

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

日本語でごめん。

ボウリングのスコアを算出してほしい。
入力:投げるごとに倒したピンの数がスペース区切りで入力される。フレームごとの区切りはない。
出力:フレームごとの累積スコアをスペース区切りで出力する。全部で10個の数字が出力されることになる。
ボウリングのスコア算出方法は各自で確認すること。

当ゴルフではランダム入力を生成できないが、決め打ちで結果を出力することは避けることを期待する。ガチンコ勝負!

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

10 10 10 10 10 10 10 10 10 10 10 10

Sample output:

30 60 90 120 150 180 210 240 270 300

Sample input:_

10 9 1 8 1 7 3 5 2 8 1 4 6 8 2 10 9 1 3

Sample output:

20 38 47 62 69 78 96 116 136 149

Sample input:_

10 10 10 0 8 10 10 0 0 7 0 6 2 9 0

Sample output:

30 50 68 76 96 106 106 113 121 130

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1clock720.00082013/03/10 02:15:1926B / 9B / 32B
2leonid760.07012008/08/17 14:24:5621B / 20B / 34B
3jpl880.03702014/06/25 05:33:590B / ?B / ?B
4flagitious940.26442007/02/10 02:07:02?B / ?B / ?B
5kodera940.20432007/06/21 02:35:290B / ?B / ?B
6shinh1000.24502007/02/03 03:28:50?B / ?B / ?B
7GooGoo+.1170.22582007/06/19 23:52:420B / ?B / ?B
8tsukkee1461.15072007/05/30 02:50:550B / ?B / ?B
9dedede1940.06202008/07/26 01:09:284B / ?B / ?B
10tabasa2130.09322007/10/10 10:40:2616B / 93B / 64B
11neocoin2600.04732010/12/21 18:16:2518B / ?B / ?B

Ruby2 _

RankUserSizeTimeDateStatistics
1nitsujri1690.20282016/07/12 11:22:430B / 114B / 18B

Perl _

RankUserSizeTimeDateStatistics
1tails610.03572016/04/13 00:57:380B / 19B / 41B
2ySas790.33442007/02/04 15:25:51?B / ?B / ?B
3TAKO/j0nKI850.00182010/03/08 00:25:270B / ?B / ?B
4shinh960.13102007/02/03 03:30:53?B / ?B / ?B
5skyvan1320.04562008/02/25 20:04:450B / ?B / ?B
6dcutter1530.00142010/04/20 18:28:140B / 87B / 66B
7tobias6040.00182009/11/27 19:04:240B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1hallvabo760.06782010/10/20 17:34:3619B / 26B / 27B
2Mark Byers970.36372007/02/08 22:40:38?B / ?B / ?B
3hirose970.13602007/10/14 16:14:550B / 52B / 43B
4recursive970.08572009/01/04 09:21:090B / 55B / 37B
5Aerion1050.09842014/11/13 17:09:250B / 55B / 45B
6peas1180.08862014/11/13 12:46:190B / ?B / ?B
7mskzzzz1390.33812007/04/22 20:23:160B / 67B / 65B
8blueblimp1471.34662007/03/02 17:23:560B / 74B / 51B
9SeeNoEvil1671.13462007/03/06 18:45:130B / 91B / 62B
10croyal1850.00682010/02/25 04:04:280B / ?B / ?B

Python3 _

RankUserSizeTimeDateStatistics
1nooodl1350.14592014/08/19 19:30:440B / ?B / ?B

PHP _

RankUserSizeTimeDateStatistics
1primo1010.19082012/04/05 20:45:322B / 42B / 57B
2daira1230.46612008/03/10 17:39:020B / 49B / 72B

Pike _

RankUserSizeTimeDateStatistics
1pooq1450.15832014/03/04 19:51:050B / 94B / 23B

Scheme _

RankUserSizeTimeDateStatistics
1hirofummy1710.22852007/02/27 19:27:540B / ?B / ?B
2ma2460.31572007/02/19 20:52:010B / ?B / ?B
3hon_ya7070.06822010/03/18 14:30:0520B / ?B / ?B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima(embed)1250.08192007/12/02 19:19:5425B / 47B / 41B
2sn1500.56132007/02/22 05:59:430B / ?B / ?B
3kozima1931.15312007/02/26 22:15:240B / 78B / 88B

Arc _

RankUserSizeTimeDateStatistics
1pooq13313.42112009/10/07 10:11:530B / 85B / 24B

Io _

RankUserSizeTimeDateStatistics
1murky-satyr1382.43312008/03/08 20:35:020B / 98B / 12B
251b1382.57872008/03/28 22:02:290B / 85B / 48B
3pooq1573.29352007/08/10 18:33:260B / 97B / 47B

JavaScript _

RankUserSizeTimeDateStatistics
1teebee990.06662012/04/16 08:32:340B / 44B / 53B
2nn1000.07852012/05/24 23:01:280B / 45B / 53B
3ktt1070.07112008/12/26 15:05:130B / 49B / 56B
4Dashiva1140.12782007/04/20 10:47:160B / 50B / 57B
5nanto_vi1160.14462007/02/24 00:22:400B / 54B / 60B
6SuperJedi224 (Partial cheat)2160.05412015/03/27 03:14:420B / 142B / 37B

Lua _

RankUserSizeTimeDateStatistics
1poop1370.03892008/03/23 19:44:150B / 88B / 22B

Tcl _

RankUserSizeTimeDateStatistics
1pooq1430.00802009/11/21 05:33:260B / 94B / 16B

Xtal _

RankUserSizeTimeDateStatistics
1pooq1450.07262010/08/22 18:39:490B / 96B / 22B

Smalltalk _

RankUserSizeTimeDateStatistics
1murky-satyr1430.36192007/12/26 21:58:060B / 97B / 18B
2sumim2402.06382007/02/23 13:37:350B / 147B / 77B

Prolog _

RankUserSizeTimeDateStatistics
1mskzzzz1360.32742007/05/27 01:25:190B / 59B / 75B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*841.79382010/04/15 22:54:1515B / 36B / 26B
2poop1320.08082007/09/10 17:25:290B / 84B / 21B
3pooq1420.09542007/09/15 19:16:200B / 71B / 57B

Perl6 _

RankUserSizeTimeDateStatistics
1pooq1017.16782010/08/10 17:26:130B / 60B / 23B

Erlang _

RankUserSizeTimeDateStatistics
151b2422.07272007/08/26 05:00:330B / 106B / 125B

J _

RankUserSizeTimeDateStatistics
1poop680.15822008/03/22 00:02:385B / 25B / 38B

K _

RankUserSizeTimeDateStatistics
1pooq1170.05532012/03/19 13:02:330B / 77B / 13B

Mind _

RankUserSizeTimeDateStatistics
1poop1620.07712007/10/10 15:35:1736B / 81B / 7B

C _

RankUserSizeTimeDateStatistics
1hallvabo930.00062009/09/06 05:41:4421B / 31B / 40B
2ush990.04052012/03/27 13:42:070B / 47B / 51B
3hinoe1090.08522007/07/11 21:52:510B / 46B / 62B
451b1140.08702007/06/26 03:50:070B / 54B / 59B
5kou1290.00152010/09/29 13:06:560B / 58B / 70B
6hess1350.05732009/08/31 15:24:530B / 61B / 73B

C++ _

RankUserSizeTimeDateStatistics
1hess1620.06302009/08/31 15:47:421B / 80B / 77B
27gyou1680.09422007/11/14 22:44:050B / 77B / 89B

D _

RankUserSizeTimeDateStatistics
151b1450.03742008/03/28 22:09:370B / 77B / 64B
2zen22250.03922008/12/28 04:45:180B / ?B / ?B

OCaml _

RankUserSizeTimeDateStatistics
1ksk(embed)1540.13232007/12/02 14:45:560B / 101B / 26B
2ksk1771.14512007/02/27 00:32:100B / 99B / 61B
3m.ukai2210.45162007/02/19 19:34:200B / 145B / 53B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa1050.00412010/12/19 00:24:510B / 67B / 34B
2henkma1050.00442011/07/31 03:18:270B / 67B / 35B
3koyama411160.00392010/12/21 14:06:260B / 76B / 35B
4aljee1260.09792007/02/09 19:39:30?B / ?B / ?B
5_1270.11372007/02/11 01:09:11?B / ?B / ?B
6tanakh1280.16142007/02/15 21:43:330B / ?B / ?B
7oxy1300.81482007/02/09 17:54:49?B / ?B / ?B
8kryozahiro1300.00232010/02/18 11:07:030B / ?B / ?B
9kinaba1310.10252007/02/09 02:08:01?B / ?B / ?B
10m1360.12362007/02/08 07:28:07?B / ?B / ?B
11Gus1530.09962007/02/06 21:27:51?B / ?B / ?B
12yy2910.04172012/07/22 17:05:246B / ?B / ?B
13wa4720.02482012/07/22 14:00:5712B / ?B / ?B

Ada _

RankUserSizeTimeDateStatistics
1D1850.11812007/04/04 22:05:440B / 113B / 56B

Java _

RankUserSizeTimeDateStatistics
1hallvabo1470.37412010/08/13 00:57:5019B / 65B / 58B

Pascal _

RankUserSizeTimeDateStatistics
1*yuko*1130.00042010/04/15 23:36:0110B / 66B / 31B
2uru1270.13042009/08/03 00:03:3225B / 59B / 34B
3pooq1510.00112009/01/18 11:30:590B / 104B / 13B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*930.00042010/04/15 23:23:1210B / 49B / 34B

COBOL _

RankUserSizeTimeDateStatistics
1*yuko*2550.00102011/03/26 14:58:540B / 193B / 17B

Curry _

RankUserSizeTimeDateStatistics
1pooq1470.03312009/11/15 15:49:070B / 92B / 34B

Maxima _

RankUserSizeTimeDateStatistics
1pooq1570.32812010/01/17 11:12:230B / 102B / 28B

Octave _

RankUserSizeTimeDateStatistics
1pooq1450.57622011/10/22 04:59:340B / 96B / 22B

REBOL _

RankUserSizeTimeDateStatistics
1pooq1490.22072009/02/15 16:18:480B / 101B / 16B

Asymptote _

RankUserSizeTimeDateStatistics
1pooq1543.12832009/04/06 00:56:560B / 101B / 26B

AWK _

RankUserSizeTimeDateStatistics
1llhuii600.03182014/08/19 22:35:140B / ?B / ?B
2nn610.05282008/09/28 18:46:420B / 23B / 38B
3yamaya620.47982007/03/03 13:48:590B / 24B / 38B
4eban640.06392007/02/28 01:17:470B / 24B / 40B

sed _

RankUserSizeTimeDateStatistics
1eban1130.09482007/02/14 13:41:26?B / ?B / ?B
2nn1130.00252011/10/10 10:56:160B / 80B / 4B
3clock1130.03912011/12/12 02:09:400B / 80B / 4B
4%20(embed)1130.03572016/04/14 12:18:040B / 80B / 4B

Bash _

RankUserSizeTimeDateStatistics
1eban1530.18402007/02/14 13:41:10?B / ?B / ?B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails650.04682016/04/13 09:34:510B / 25B / 37B

dc _

RankUserSizeTimeDateStatistics
1tails680.02692011/05/11 05:06:220B / 52B / 16B

xgawk _

RankUserSizeTimeDateStatistics
1llhuii600.03232014/08/21 21:31:060B / 23B / 37B

m4 _

RankUserSizeTimeDateStatistics
151b2250.04752008/05/13 21:42:060B / 115B / 108B

Postscript _

RankUserSizeTimeDateStatistics
1yshl791.12932008/05/16 01:57:5933B / 28B / 14B
2ySas871.20162007/03/08 02:33:4945B / 23B / 14B
3yshl(no bin)1331.15662008/05/16 01:57:500B / 97B / 14B

R _

RankUserSizeTimeDateStatistics
1pooq1073.69882008/05/31 13:08:370B / 70B / 37B
2NikNakk1290.43602014/07/06 03:17:270B / ?B / ?B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs (cheat)1310.03682015/10/04 18:26:223B / 71B / 55B
2nuko(cheat)1890.05172008/02/01 23:53:173B / ?B / ?B

Befunge _

RankUserSizeTimeDateStatistics
1wiz1480.03122007/03/19 19:27:120B / 69B / 65B

GolfScript _

RankUserSizeTimeDateStatistics
1tails350.14352012/03/19 15:44:590B / 9B / 25B
2flagitious410.42172007/12/15 05:48:590B / 8B / 32B

z80 _

RankUserSizeTimeDateStatistics
1kodera780.13372008/01/16 03:10:2447B / 12B / 16B
2fsystem960.02862008/01/07 00:29:3559B / 18B / 14B

Vim _

RankUserSizeTimeDateStatistics
1nn880.08062009/12/30 11:24:043B / 41B / 39B

Groovy _

RankUserSizeTimeDateStatistics
1nn1076.95132009/11/05 23:13:340B / 55B / 44B
2hakusui1393.51052011/12/10 17:56:570B / ?B / ?B
3murky-satyr1428.55822008/03/13 13:32:240B / 96B / 18B

Scala _

RankUserSizeTimeDateStatistics
1pooq13511.00562011/02/10 17:03:550B / 89B / 25B
2heckt19710.33132012/11/26 01:51:210B / ?B / ?B
3tarhashi36210.34512012/06/04 14:14:050B / ?B / ?B

Logo _

RankUserSizeTimeDateStatistics
1pooq1450.00582011/03/19 19:20:080B / 99B / 11B

Language Ranking_

RankLangUserSizeScore
1GolfScripttails3510000
2AWKllhuii605833
3xgawkllhuii605833
4Perltails615737
5Bash (builtins)tails655384
6Jpoop685147
7dctails685147
8Rubyclock724861
9Pythonhallvabo764605
10z80kodera784487
11Postscriptyshl794430
12BASIC*yuko*844166
13Vimnn883977
14Challvabo933763
15Fortran*yuko*933763
16JavaScriptteebee993535
17Perl6pooq1013465
18PHPprimo1013465
19Haskellnotogawa1053333
20Rpooq1073271
21Groovynn1073271
22sedeban1133097
23Pascal*yuko*1133097
24Kpooq1172991
25Common LISPkozima(embed)1252800
26Brainfuckmitchs (cheat)1312671
27Arcpooq1332631
28Scalapooq1352592
29Python3nooodl1352592
30Prologmskzzzz1362573
31Luapoop1372554
32Iomurky-satyr1382536
33Smalltalkmurky-satyr1432447
34Tclpooq1432447
35D51b1452413
36Xtalpooq1452413
37Logopooq1452413
38Octavepooq1452413
39Pikepooq1452413
40Currypooq1472380
41Javahallvabo1472380
42Befungewiz1482364
43REBOLpooq1492348
44Basheban1532287
45OCamlksk(embed)1542272
46Asymptotepooq1542272
47Maximapooq1572229
48Mindpoop1622160
49C++hess1622160
50Ruby2nitsujri1692071
51Schemehirofummy1712046
52AdaD1851891
53m451b2251555
54Erlang51b2421446
55COBOL*yuko*2551372

Referer

Note that, they may contain spoilers.

return top