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 19, 2025 05:26Ian MckibbenIan MckibbenScore: 4,522Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2025 05:264,49335,430,90213,350,0001,026,0002,428,928
2Jan 19, 2025 05:264,52232,972,52713,436,0001,033,0002,531,328
3Jan 19, 2025 05:264,52627,071,73913,449,0001,034,0002,510,848