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 18, 2025 04:14Ian MckibbenIan MckibbenScore: 8,873Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 18, 2025 04:148,79657,744,22926,138,0002,010,0002,289,664
2Jan 18, 2025 04:148,87353,658,80426,367,0002,028,0002,281,472
3Jan 18, 2025 04:148,92853,474,46627,550,0001,020,0002,289,664