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 7, 2024 01:47zielajzielajScore: 4,668Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 01:494,64732,633,06512,889,0001,982,0002,289,664
2Aug 7, 2024 01:474,65536,508,89912,911,0001,986,0002,273,280
3Aug 7, 2024 01:474,65530,109,68712,909,0001,986,0002,285,568
4Aug 7, 2024 01:494,65732,814,48512,915,0001,986,0002,269,184
5Aug 7, 2024 01:494,65942,546,19312,922,0001,988,0002,289,664
6Aug 7, 2024 01:494,66041,742,90212,923,0001,988,0002,277,376
7Aug 7, 2024 01:474,66140,952,72912,927,0001,988,0002,289,664
8Aug 7, 2024 01:474,66735,100,13812,942,0001,991,0002,289,664
9Aug 7, 2024 01:494,66736,562,10912,942,0001,991,0002,289,664
10Aug 7, 2024 01:474,66830,751,09012,945,0001,991,0002,273,280
11Aug 7, 2024 01:474,66832,566,51512,945,0001,991,0002,289,664
12Aug 7, 2024 01:494,66830,935,83713,942,000995,0002,273,280
13Aug 7, 2024 01:474,66836,428,90212,947,0001,991,0002,289,664
14Aug 7, 2024 01:474,66932,004,05713,944,000996,0002,289,664
15Aug 7, 2024 01:494,67132,217,98912,954,0001,993,0002,277,376
16Aug 7, 2024 01:494,67333,392,16412,961,0001,994,0002,289,664
17Aug 7, 2024 01:474,67430,891,40912,964,0001,994,0002,269,184
18Aug 7, 2024 01:494,68033,555,64512,980,0001,997,0002,285,568
19Aug 7, 2024 01:474,88784,205,64215,637,48602,314,240
20Aug 7, 2024 01:474,88993,618,31515,645,45802,310,144
21Aug 7, 2024 01:494,91397,805,60615,721,13702,179,072
22Aug 7, 2024 01:494,92382,893,04615,753,18602,179,072
23Aug 7, 2024 01:494,92890,843,82015,769,60402,306,048
24Aug 7, 2024 01:474,93157,242,28015,778,87102,179,072