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 00:28zielajzielajScore: 4,694Success
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 00:284,64733,394,50712,888,0001,982,0002,289,664
2Aug 7, 2024 00:284,65041,181,76413,888,000992,0002,281,472
3Aug 7, 2024 00:284,65227,599,43114,887,00002,273,280
4Aug 7, 2024 00:284,67036,332,92112,953,0001,992,0002,531,328
5Aug 7, 2024 00:284,67136,478,53512,954,0001,992,0002,289,664
6Aug 7, 2024 00:284,67530,618,86212,965,0001,994,0002,265,088
7Aug 7, 2024 00:284,69443,711,02814,020,0001,001,0002,273,280
8Aug 7, 2024 00:284,71439,995,42113,075,0002,011,0002,269,184
9Aug 7, 2024 00:284,72233,349,74214,104,0001,007,0002,277,376
10Aug 7, 2024 00:284,88779,875,42615,639,57102,301,952
11Aug 7, 2024 00:284,90289,240,59615,685,20602,183,168
12Aug 7, 2024 00:284,91481,170,51815,724,98502,183,168