Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listSep 19, 2022 09:36Kenneth MaplesKenneth MaplesScore: 5,431Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 19, 2022 09:385,38333,995,24516,214,0001,013,0002,387,968
2Sep 19, 2022 09:365,40038,760,83417,281,00002,392,064
3Sep 19, 2022 09:365,40140,276,94815,249,0002,033,0002,383,872
4Sep 19, 2022 09:345,40337,201,53315,255,0002,034,0002,387,968
5Sep 19, 2022 09:365,40642,582,14516,281,0001,017,0002,383,872
6Sep 19, 2022 09:345,40632,908,07915,265,0002,035,0002,396,160
7Sep 19, 2022 09:385,40839,882,46216,288,0001,018,0002,519,040
8Sep 19, 2022 09:345,40939,762,31816,291,0001,018,0002,519,040
9Sep 19, 2022 09:365,40937,745,48717,309,00002,510,848
10Sep 19, 2022 09:385,41141,781,94017,315,00002,519,040
11Sep 19, 2022 09:345,41343,972,22115,284,0002,037,0002,383,872
12Sep 19, 2022 09:345,41334,079,50117,321,00002,400,256
13Sep 19, 2022 09:365,41340,016,71117,323,00002,519,040
14Sep 19, 2022 09:385,41336,245,51416,303,0001,018,0002,519,040
15Sep 19, 2022 09:385,41440,485,36716,307,0001,019,0002,387,968
16Sep 19, 2022 09:385,41541,712,28615,289,0002,038,0002,519,040
17Sep 19, 2022 09:365,41538,928,21216,309,0001,019,0002,510,848
18Sep 19, 2022 09:365,41546,272,86016,310,0001,019,0002,519,040
19Sep 19, 2022 09:345,41639,174,90715,292,0002,039,0002,506,752
20Sep 19, 2022 09:365,41738,330,90016,314,0001,019,0002,519,040
21Sep 19, 2022 09:385,42238,417,37415,310,0002,041,0002,387,968
22Sep 19, 2022 09:365,42238,309,77615,309,0002,041,0002,392,064
23Sep 19, 2022 09:365,42344,199,00316,390,000964,0002,260,992
24Sep 19, 2022 09:385,42746,661,06215,323,0002,043,0002,519,040
25Sep 19, 2022 09:365,43145,956,39416,358,0001,022,0002,510,848
26Sep 19, 2022 09:385,43449,052,91117,388,00002,383,872
27Sep 19, 2022 09:365,43451,013,40317,389,00002,387,968
28Sep 19, 2022 09:365,43538,318,07916,369,0001,023,0002,519,040
29Sep 19, 2022 09:365,43751,347,73517,398,00002,519,040
30Sep 19, 2022 09:365,43941,062,08115,357,0002,047,0002,519,040
31Sep 19, 2022 09:345,43934,458,69017,404,00002,387,968
32Sep 19, 2022 09:365,44046,472,09516,385,0001,024,0002,506,752
33Sep 19, 2022 09:345,44037,731,22617,408,00002,519,040
34Sep 19, 2022 09:345,44136,596,34516,388,0001,024,0002,519,040
35Sep 19, 2022 09:365,44742,423,67917,429,00002,519,040
36Sep 19, 2022 09:365,45340,149,33517,449,00002,260,992
37Sep 19, 2022 09:365,68094,237,37118,175,37502,265,088
38Sep 19, 2022 09:345,69199,064,15218,212,00102,273,280
39Sep 19, 2022 09:365,69766,664,01918,230,38002,281,472
40Sep 19, 2022 09:345,69799,255,89518,229,46602,281,472
41Sep 19, 2022 09:385,70161,024,00118,242,68702,277,376
42Sep 19, 2022 09:385,70379,512,66618,251,01202,277,376
43Sep 19, 2022 09:365,704115,155,76418,252,76402,199,552
44Sep 19, 2022 09:365,71561,092,47318,288,25502,285,568
45Sep 19, 2022 09:365,72291,114,40318,309,93002,281,472
46Sep 19, 2022 09:345,72886,467,64718,331,17402,269,184
47Sep 19, 2022 09:365,73394,585,09618,347,01902,277,376
48Sep 19, 2022 09:385,73683,374,52618,356,62902,277,376