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:03Ian MckibbenIan MckibbenScore: 5,848Success
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:045,79842,707,56517,522,0001,030,0002,289,664
2Jan 11, 2025 06:035,83147,090,13317,622,0001,036,0002,289,664
3Jan 11, 2025 06:045,84443,553,21817,663,0001,039,0002,289,664
4Jan 11, 2025 06:035,84848,184,89817,728,000984,0002,289,664
5Jan 11, 2025 06:045,85241,257,36717,687,0001,040,0002,269,184
6Jan 11, 2025 06:035,89843,755,60016,888,0001,986,0002,363,392