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 listMar 11, 2025 20:12Drew GarciaDrew GarciaScore: 5,391Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 11, 2025 20:125,37340,121,20314,159,0003,034,0002,269,184
2Mar 11, 2025 20:125,39134,180,77115,221,0002,029,0002,396,160
3Mar 11, 2025 20:125,42034,696,93516,323,0001,020,0002,482,176