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 15, 2025 01:12Ian MckibbenIan MckibbenScore: 5,465Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2025 01:125,41344,255,00115,285,0002,038,0002,293,760
2Jan 15, 2025 01:125,44745,130,33716,405,0001,025,0002,293,760
3Jan 15, 2025 01:125,45143,105,85816,418,0001,026,0002,293,760
4Jan 15, 2025 01:125,46240,183,95116,449,0001,028,0002,293,760
5Jan 15, 2025 01:125,46540,035,83517,489,00002,277,376
6Jan 15, 2025 01:125,46944,752,35716,471,0001,029,0002,281,472
7Jan 15, 2025 01:125,48140,114,77916,507,0001,031,0002,269,184
8Jan 15, 2025 01:125,48742,410,59516,526,0001,032,0002,293,760
9Jan 15, 2025 01:125,49146,396,44216,539,0001,033,0002,293,760