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 8, 2025 16:04scompa18scompa18Score: 5,793Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 8, 2025 16:045,75335,953,29516,364,0002,045,0002,285,568
2Jan 8, 2025 16:045,75334,040,41717,389,0001,022,0002,285,568
3Jan 8, 2025 16:045,77544,952,10418,481,00002,293,760
4Jan 8, 2025 16:045,78344,947,75916,451,0002,056,0002,285,568
5Jan 8, 2025 16:045,79338,924,64817,509,0001,029,0002,285,568
6Jan 8, 2025 16:045,79641,772,66318,546,00002,273,280
7Jan 8, 2025 16:045,79736,844,36517,520,0001,030,0002,285,568
8Jan 8, 2025 16:045,79941,691,78418,557,00002,285,568
9Jan 8, 2025 16:045,83547,383,98217,636,0001,037,0002,285,568