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 16, 2024 22:01zielajzielajScore: 4,179Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 16, 2024 22:014,15332,543,44313,289,00002,531,328
2Aug 16, 2024 22:014,15630,275,03813,300,00002,531,328
3Aug 16, 2024 22:014,16239,443,58013,317,00002,531,328
4Aug 16, 2024 22:014,16336,628,29213,320,00002,494,464
5Aug 16, 2024 22:014,16836,418,80313,339,00002,269,184
6Aug 16, 2024 22:014,17325,790,34113,352,00002,531,328
7Aug 16, 2024 22:014,17926,482,44912,345,0001,028,0002,490,368
8Aug 16, 2024 22:014,19930,923,65313,436,00002,269,184
9Aug 16, 2024 22:014,20528,334,51912,421,0001,035,0002,269,184
10Aug 16, 2024 22:014,45463,146,99914,251,40202,265,088
11Aug 16, 2024 22:014,46552,816,89514,286,48502,232,320
12Aug 16, 2024 22:014,47168,683,55914,306,60202,371,584