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 31, 2024 15:55Drew GarciaDrew GarciaScore: 2,537,129Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 31, 2024 15:552,536,2148,173,480,5128,115,884,19302,265,088
2Mar 31, 2024 15:552,537,1298,191,020,6058,118,814,34102,256,896
3Mar 31, 2024 15:552,647,0228,532,618,3898,470,469,94102,256,896