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 listJan 11, 2025 06:19Ian MckibbenIan MckibbenScore: 5,842Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 11, 2025 06:195,81343,930,20217,567,0001,033,0002,269,184
2Jan 11, 2025 06:195,84247,734,64117,656,0001,038,0002,273,280
3Jan 11, 2025 06:195,90144,932,08516,896,0001,987,0002,269,184