Digit Tally

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

For each line, count the number of occurrences of each digit and output the counts of each digit from 0 to 9 without spaces.

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

176093677603
27204322879364
82330228112748
49297634652846
115800908259216
24502788451825
99991133635003
42782169235947
12863427063462
20731807143228
139118285699340
16758962389145
1254130462814
74822625282332
84688165162423
23394686883038
63440961940754
8027293896136
110238925612731
73164767897254
123278446320899
134526965675645
75904957026872
65030099836447
121345711020756
109723529538556
140282221854709
86058259722811
37464999732749
118236154692362
52896817220571
95305324300082
1236950611354
38826504364782
82738250012792
117879672429821
68247030340169
104668353018870
64450279274877

Sample output:

2102003301
1042201211
1242100130
0021313112
3320021022
1130230130
2204011004
0131211212
1132203110
2232100220
1312111023
0211122122
1321311010
0062111120
0221213030
1014102041
2101412102
1122002122
1432011111
0111212411
1132201122
0111244101
2020121312
3002212112
2421121200
1122041112
2240210121
1230021131
0012301304
0332113011
1230021221
4023120011
1312122001
1022212130
2141010221
0330101322
3112202111
3202112130
1020311411

Sample input:_

16716012741175
44036299687834
84323092933990
45956150070714
132495446134442
63934883191163
20946555513044
75265006906726
7756710946001
91006062058717
76596446784823
47429323850833
120804545136670
90267327664566
3457448690481
24678882095412
131181186131461
11278584148512
12863427075753
14478334769194
85255100849278
83395380006104
54537494728008
97646081484083
20968030367878
73005854109632
28265179804927
81441169882801
82712480208030
36180804526685
83507049161343
85061827315694
20538533642058
33333241213017
21822728841152
87187836130196
43881680884115
72597832221699
53858889894523

Sample output:

1510112300
1012302122
2024100014
3200231201
0222611001
0304102022
2111341001
3020024201
3200112301
4210012211
0011313221
1024210121
3211222110
1021115201
1101411121
1130211131
0802102020
0420220130
1122121310
0202401212
2120130131
4103111021
2011320221
2101302131
3012002231
3112121111
1130111222
1410201041
4131100130
2111123030
2203211111
1211122121
2023131020
1326100100
0350110130
1302002231
1301211050
0141011213
0012130052

Sample input:_

16758962413612
133478993633688
76489072597866
86058259737452
63771674412701
62032212679167
24730421717691
79736067881108
71829033090237
114594022453387
82944408429218
100158637364869
27487790696886
83348135367369
132216273252884
63342177691879
29205777634154
98994701230747
39350490398460
73478300508659
74569222202092
123334280896180
15869904179896
135390254076667
5879810259204
22406844390176
9427453236890
25378961771743
36258113942191
79379585567162
97989678882920
24013162172569
26740466417052
117707873718964
57170309680860
118446608109490
47545287990448
49250389998866
71077413795364

Sample output:

0321113111
0105102132
1010113322
1021131221
1311202400
1241003201
1321201301
2201002331
3123000212
1222320111
1130400032
2202113121
1010103332
0105112121
0252111120
0212102312
1121221301
2111200313
3003211013
3002121221
2060111102
2223101031
1200112124
2112123201
2120120122
2121302111
1022211112
0212111411
0422111012
0111032312
1020001244
1331112101
2120313200
1301101521
4101012221
3300302022
1010420222
1011112034
1202211401

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1Histocrat450.03722017/11/13 13:25:320B / 17B / 25B
2mitchs450.03512017/11/13 15:30:490B / 17B / 25B
3rotary-o460.04002017/07/30 17:37:230B / 21B / 24B
4letranger460.05662017/09/18 09:50:280B / 21B / 24B
5%20460.06082017/09/28 03:50:240B / 21B / 25B
6xsot470.03472017/07/29 21:47:430B / 21B / 22B
7semEval470.03472017/09/25 14:55:180B / 21B / 22B

Ruby2 _

RankUserSizeTimeDateStatistics
1rotary-o440.15462017/07/30 17:34:510B / 21B / 22B
2mitchs440.22172017/08/15 10:07:050B / 21B / 22B
3letranger440.14982017/09/18 09:44:120B / 21B / 22B
4ndimov450.15142017/08/28 03:20:340B / ?B / ?B
5%20460.14522017/09/28 03:50:320B / 21B / 25B
6kachick540.15002017/09/08 02:31:310B / ?B / ?B

Perl _

RankUserSizeTimeDateStatistics
1tails330.04752017/08/12 01:55:010B / 12B / 19B
2teebee330.04802017/10/16 06:18:500B / 12B / 19B
3llhuii340.06342017/09/26 13:34:040B / ?B / ?B
4%20370.03582017/08/11 19:10:150B / 19B / 16B
5letranger460.03482017/09/18 10:25:530B / 16B / 30B

Python _

RankUserSizeTimeDateStatistics
1llhuii530.07532017/09/16 19:22:510B / 33B / 19B
2mitchs530.07532017/09/16 19:55:340B / 33B / 19B
3xnor530.07292017/10/02 19:12:170B / 33B / 19B
4hallvabo540.07222017/07/30 07:42:040B / 36B / 18B
5xsot540.07092017/07/30 12:20:210B / 36B / 17B
6lynn540.07352017/07/31 05:17:180B / 36B / 17B
7dianne540.07342017/07/31 05:35:200B / 36B / 17B
8twobit540.16662017/08/01 18:02:010B / ?B / ?B
9Maltysen540.07522017/10/02 13:32:590B / 36B / 17B
10Mr. Xcoder540.07202017/10/24 04:10:520B / 36B / 17B
11enohIO620.09282017/10/05 08:57:000B / 39B / 19B
12rolf650.07162017/07/30 22:21:300B / 42B / 20B
13Erik the Outgolfer680.07312017/07/29 03:24:390B / 44B / 20B
14d.ve680.10282017/11/09 12:14:030B / 44B / 19B
15hhh810.08302017/09/30 20:56:200B / ?B / ?B
16croyal930.08772017/10/28 03:44:585B / ?B / ?B

Python3 _

RankUserSizeTimeDateStatistics
1xsot540.12642017/07/29 12:37:150B / 37B / 16B
2dianne540.13412017/07/30 05:38:370B / 37B / 16B
3mitchs540.11292017/07/30 06:11:370B / 37B / 16B
4lynn540.13152017/07/30 07:03:480B / 37B / 16B
5llhuii540.19652017/09/27 23:11:500B / 37B / 16B
6mypetlion610.12152017/10/11 10:33:540B / 42B / 18B
7help690.12532017/10/09 03:10:390B / 47B / 19B
8Erik the Outgolfer750.12732017/07/29 03:59:420B / 46B / 25B

JavaScript _

RankUserSizeTimeDateStatistics
1FizzyTea670.05592017/11/11 04:05:010B / 40B / 27B
2ETHproductions680.04192017/08/01 10:14:520B / 41B / 27B
3teebee680.04502017/10/17 08:04:170B / 41B / 27B
4letranger680.08632017/10/25 20:17:380B / 42B / 26B
5god880.04152017/09/20 07:18:470B / ?B / ?B

Tcl _

RankUserSizeTimeDateStatistics
1toomas940.06702017/08/17 23:05:540B / 57B / 20B

PARI/GP _

RankUserSizeTimeDateStatistics
1mitchs690.08952017/11/09 16:01:310B / 43B / 26B

Perl6 _

RankUserSizeTimeDateStatistics
1tails541.57152017/07/28 15:47:490B / 26B / 25B

C _

RankUserSizeTimeDateStatistics
1llhuii740.03162017/09/16 23:12:080B / 44B / 30B
2nu770.03152017/09/05 17:08:310B / 44B / 33B
3tails780.03132017/09/01 15:20:250B / 42B / 36B
4%20820.03162017/09/19 19:12:260B / 49B / 32B

Haskell _

RankUserSizeTimeDateStatistics
1henkma700.03712017/08/11 16:15:550B / 41B / 25B
2cojna700.03842017/08/13 23:49:120B / 38B / 30B
3lynn700.03712017/08/14 19:41:400B / 38B / 31B
4dianne710.03702017/08/01 04:48:570B / 39B / 31B
5yuki810.03682017/07/31 16:45:120B / 48B / 31B

Java _

RankUserSizeTimeDateStatistics
1rotary-o1560.17492017/09/03 22:50:520B / 97B / 53B
2Megamoff2660.23022017/08/30 08:57:4411B / 143B / 72B

AWK _

RankUserSizeTimeDateStatistics
1mitchs350.03212017/09/03 13:22:130B / 21B / 13B
2llhuii350.03542017/09/16 12:58:420B / 19B / 16B
3teebee350.03202017/10/16 08:14:530B / 20B / 14B

sed _

RankUserSizeTimeDateStatistics
1mitchs740.28612017/11/09 13:51:190B / 30B / 39B
2tails950.07302017/07/30 11:10:020B / 34B / 52B
3%201000.07472017/07/30 07:11:380B / 35B / 55B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1llhuii540.14122017/09/28 19:57:150B / 20B / 30B
2tails580.13482017/09/28 18:36:130B / 24B / 30B

dc _

RankUserSizeTimeDateStatistics
1tails470.04582017/07/28 14:50:230B / 32B / 15B

xgawk _

RankUserSizeTimeDateStatistics
1llhuii350.04812017/09/27 23:12:300B / 19B / 16B
2teebee350.04252017/10/16 08:43:520B / 20B / 14B
3mitchs350.04532017/11/05 12:01:580B / 21B / 13B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs1250.03622017/10/17 11:29:510B / 0B / 125B
2test1880.04262017/10/14 01:55:120B / ?B / ?B

GolfScript _

RankUserSizeTimeDateStatistics
1tails190.15152017/07/30 00:01:330B / 4B / 15B
2twobit202.73502017/08/01 19:34:190B / 4B / 16B
3Erik the Outgolfer210.10832017/07/29 03:16:530B / 5B / 16B
4rolf590.40912017/11/12 08:00:050B / 26B / 29B

gs2 _

RankUserSizeTimeDateStatistics
1whio90.19152017/08/03 01:17:062B / 4B / 3B
2tails90.19892017/08/03 09:32:142B / 4B / 3B
3mitchs90.19792017/08/19 11:16:142B / 4B / 3B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik210.10372017/11/05 19:36:040B / 12B / 9B

Vim _

RankUserSizeTimeDateStatistics
1udioica360.33742017/07/28 11:38:125B / 19B / 10B

goruby _

RankUserSizeTimeDateStatistics
1mitchs310.64232017/08/20 08:35:540B / 15B / 15B

Scala _

RankUserSizeTimeDateStatistics
1rotary-o716.25942017/07/30 14:50:510B / 48B / 20B

Language Ranking_

RankLangUserSizeScore
1gs2whio910000
2GolfScripttails194736
3BurlesqueHendrik214285
4gorubymitchs312903
5Perltails332727
6AWKmitchs352571
7xgawkllhuii352571
8Vimudioica362500
9Ruby2rotary-o442045
10RubyHistocrat452000
11dctails471914
12Pythonllhuii531698
13Perl6tails541666
14Python3xsot541666
15Bash (builtins)llhuii541666
16JavaScriptFizzyTea671343
17PARI/GPmitchs691304
18Haskellhenkma701285
19Scalarotary-o711267
20Cllhuii741216
21sedmitchs741216
22Tcltoomas94957
23Brainfuckmitchs125720
24Javarotary-o156576

return to the top page