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-o450.03812018/02/03 12:32:490B / 17B / 25B
4clock450.03592019/03/22 15:21:440B / 17B / 26B
5ludo450.03562019/09/19 20:10:550B / 17B / 25B
6llhuii450.03622019/09/21 19:46:170B / 18B / 25B
7letranger460.05662017/09/18 09:50:280B / 21B / 24B
8%20460.06082017/09/28 03:50:240B / 21B / 25B
9kaki460.04232019/09/23 22:38:070B / 21B / 24B
10xsot470.03472017/07/29 21:47:430B / 21B / 22B
11semEval470.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
4ludo440.14852019/09/19 19:45:100B / 21B / 22B
5llhuii440.15442019/09/21 20:03:200B / 21B / 22B
6kaki440.25662019/09/23 22:37:430B / 21B / 22B
7ndimov450.15142017/08/28 03:20:340B / ?B / ?B
8jpl450.22982018/03/25 03:50:210B / 21B / 20B
9yuruhiya450.16732020/12/17 20:59:040B / ?B / ?B
10%20460.14522017/09/28 03:50:320B / 21B / 25B
11BAN480.14792018/04/28 00:02:560B / ?B / ?B
12kachick540.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
3brx330.04782018/03/27 00:36:070B / 12B / 19B
4llhuii340.06342017/09/26 13:34:040B / ?B / ?B
5%20370.03582017/08/11 19:10:150B / 19B / 16B
6letranger460.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
4xsot530.07432017/12/03 12:35:460B / 33B / 19B
5clock530.07512019/03/21 12:49:310B / 33B / 19B
6hallvabo540.07222017/07/30 07:42:040B / 36B / 18B
7lynn540.07352017/07/31 05:17:180B / 36B / 17B
8dianne540.07342017/07/31 05:35:200B / 36B / 17B
9twobit540.16662017/08/01 18:02:010B / ?B / ?B
10Maltysen540.07522017/10/02 13:32:590B / 36B / 17B
11Mr. Xcoder540.07202017/10/24 04:10:520B / 36B / 17B
12Dingledooper540.09022020/05/27 13:52:180B / 36B / 17B
13Erik the Outgolfer540.09262021/02/05 07:28:280B / 36B / 17B
14enohIO620.09282017/10/05 08:57:000B / 39B / 19B
15rolf650.07162017/07/30 22:21:300B / 42B / 20B
16d.ve680.10282017/11/09 12:14:030B / 44B / 19B
17hhh810.08302017/09/30 20:56:200B / ?B / ?B
18croyal930.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
6fill540.11412017/12/06 11:55:070B / 37B / 16B
7mypetlion540.12292018/01/21 17:04:500B / 37B / 16B
8fuzzylojik540.27542024/02/27 22:38:370B / 37B / 17B
9Erik the Outgolfer630.14282021/02/05 08:08:280B / 43B / 19B
10help690.12532017/10/09 03:10:390B / 47B / 19B
11800.11812018/02/21 23:01:450B / ?B / ?B
12Recro3310.18902017/12/05 17:23:3811B / ?B / ?B

Scheme _

RankUserSizeTimeDateStatistics
1kaki910.11802019/09/24 01:37:030B / 59B / 28B

JavaScript _

RankUserSizeTimeDateStatistics
1FizzyTea670.05592017/11/11 04:05:010B / 40B / 27B
20mg670.04452018/02/03 00:45:060B / 39B / 28B
3copy670.05282018/04/29 08:17:450B / 40B / 27B
4ETHproductions680.04192017/08/01 10:14:520B / 41B / 27B
5teebee680.04502017/10/17 08:04:170B / 41B / 27B
6letranger680.08632017/10/25 20:17:380B / 42B / 26B
7xulapp680.04242018/01/16 21:34:550B / 41B / 27B
8700.04712018/04/29 06:38:230B / ?B / ?B
9god880.04152017/09/20 07:18:470B / ?B / ?B

Lua _

RankUserSizeTimeDateStatistics
1Hendrik740.03452019/03/22 19:52:240B / 49B / 20B
2clock740.03482019/03/22 23:14:450B / 44B / 25B
3tehtmi740.03282019/03/24 04:10:270B / 49B / 20B

Tcl _

RankUserSizeTimeDateStatistics
1clock760.04962019/03/21 19:10:130B / 45B / 20B
2toomas940.06702017/08/17 23:05:540B / 57B / 20B

Crystal _

RankUserSizeTimeDateStatistics
1yuruhiya550.04222020/12/17 20:51:480B / ?B / ?B

PARI/GP _

RankUserSizeTimeDateStatistics
1clock670.03472019/03/21 20:02:380B / 40B / 27B
2mitchs690.08952017/11/09 16:01:310B / 43B / 26B

Perl6 _

RankUserSizeTimeDateStatistics
1yuruhiya494.53792020/12/17 21:09:260B / ?B / ?B
2tails541.57152017/07/28 15:47:490B / 26B / 25B

Jelly _

RankUserSizeTimeDateStatistics
1Erik the Outgolfer80.68712021/05/18 09:14:346B / 1B / 1B

C _

RankUserSizeTimeDateStatistics
1llhuii740.03162017/09/16 23:12:080B / 44B / 30B
2nu740.03162019/12/21 03:52:530B / 44B / 30B
30mg760.03162018/01/31 20:05:220B / 43B / 33B
4tails780.03132017/09/01 15:20:250B / 42B / 36B
5%20820.03162017/09/19 19:12:260B / 49B / 32B
6TokusiN920.03152018/02/13 23:18:440B / ?B / ?B

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
4dianne700.03912018/06/15 17:43:260B / 38B / 31B
5yuki810.03682017/07/31 16:45:120B / 48B / 31B

Java _

RankUserSizeTimeDateStatistics
1rotary-o1330.16342018/02/04 01:57:460B / 81B / 48B
2Megamoff2660.23022017/08/30 08:57:4411B / 143B / 72B

Chapel _

RankUserSizeTimeDateStatistics
1clock900.04242019/03/20 14:57:360B / 54B / 32B

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
4uu350.03482018/01/30 08:50:200B / 19B / 15B
5Fleur350.04282021/11/08 11:25:450B / 17B / 18B
6houmei1020.03322018/01/30 21:34:520B / 55B / 44B

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
1tails530.95842021/05/18 17:07:420B / 19B / 28B
2llhuii540.14122017/09/28 19:57:150B / 20B / 30B
3McBusLuck580.91982022/01/16 03:33:530B / 23B / 30B

bc _

RankUserSizeTimeDateStatistics
1McBusLuck830.05502020/08/11 02:13:310B / 41B / 39B

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

R _

RankUserSizeTimeDateStatistics
1teebee750.41002021/05/04 05:05:100B / 45B / 25B
2olf770.42372019/09/20 20:49:250B / 42B / 30B

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
2clock190.14892019/01/26 00:19:210B / 4B / 15B
3twobit202.73502017/08/01 19:34:190B / 4B / 16B
4Erik the Outgolfer210.10832017/07/29 03:16:530B / 5B / 16B
5rolf590.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

Nibbles _

RankUserSizeTimeDateStatistics
1tails80.05032022/01/14 16:05:253B / 2B / 3B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik200.07362018/02/06 06:51:320B / 11B / 9B
2clock210.15252019/09/27 14:43:580B / 13B / 8B

Lazy-K _

RankUserSizeTimeDateStatistics
1tails6120.13442021/05/18 15:15:310B / 385B / 227B

Universal Lambda _

RankUserSizeTimeDateStatistics
1tails460.14192024/02/27 22:34:2236B / 6B / 3B

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-o557.42732018/02/04 02:36:340B / 37B / 17B
2Hendrik677.03662020/06/06 01:59:330B / 35B / 31B

Language Ranking_

RankLangUserSizeScore
1JellyErik the Outgolfer810000
2Nibblestails810000
3gs2whio98888
4GolfScripttails194210
5BurlesqueHendrik204000
6gorubymitchs312580
7Perltails332424
8AWKmitchs352285
9xgawkllhuii352285
10Vimudioica362222
11Ruby2rotary-o441818
12RubyHistocrat451777
13Universal Lambdatails461739
14dctails471702
15Perl6yuruhiya491632
16Pythonllhuii531509
17Bash (builtins)tails531509
18Python3xsot541481
19Scalarotary-o551454
20Crystalyuruhiya551454
21JavaScriptFizzyTea671194
22PARI/GPclock671194
23Haskellhenkma701142
24Cllhuii741081
25sedmitchs741081
26LuaHendrik741081
27Rteebee751066
28Tclclock761052
29bcMcBusLuck83963
30Chapelclock90888
31Schemekaki91879
32Brainfuckmitchs125640
33Javarotary-o133601
34Lazy-Ktails612130

return to the top page