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 listAug 8, 2024 23:12Casper BelierCasper BelierScore: 5,847Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 8, 2024 23:115,80435,516,55717,542,0001,031,0002,265,088
2Aug 8, 2024 23:115,80639,076,66417,546,0001,032,0002,289,664
3Aug 8, 2024 23:115,82048,571,54917,590,0001,034,0002,531,328
4Aug 8, 2024 23:125,82550,162,38717,606,0001,035,0002,531,328
5Aug 8, 2024 23:125,82843,834,80617,612,0001,036,0002,289,664
6Aug 8, 2024 23:115,83041,446,20318,657,00002,527,232
7Aug 8, 2024 23:125,83544,736,50617,635,0001,037,0002,281,472
8Aug 8, 2024 23:125,83648,812,99817,637,0001,037,0002,289,664
9Aug 8, 2024 23:115,83949,953,91317,646,0001,038,0002,273,280
10Aug 8, 2024 23:125,84146,583,97218,691,00002,289,664
11Aug 8, 2024 23:125,84545,092,16017,665,0001,039,0002,273,280
12Aug 8, 2024 23:125,84746,967,03217,670,0001,039,0002,289,664
13Aug 8, 2024 23:115,84744,239,53017,672,0001,039,0002,383,872
14Aug 8, 2024 23:115,85247,928,35317,685,0001,040,0002,289,664
15Aug 8, 2024 23:125,85346,094,96117,691,0001,040,0002,289,664
16Aug 8, 2024 23:115,88546,636,73117,841,000991,0002,273,280
17Aug 8, 2024 23:115,89243,025,98817,862,000992,0002,273,280
18Aug 8, 2024 23:125,89850,758,25716,888,0001,986,0002,269,184
19Aug 8, 2024 23:116,05199,076,08119,362,67202,301,952
20Aug 8, 2024 23:126,05667,320,94919,380,76302,174,976
21Aug 8, 2024 23:126,06691,461,54119,411,08702,297,856
22Aug 8, 2024 23:116,07290,157,33219,431,74402,297,856
23Aug 8, 2024 23:126,08586,320,01019,471,58702,179,072
24Aug 8, 2024 23:116,10897,469,50319,546,51002,301,952