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:20Ian MckibbenIan MckibbenScore: 5,700Success
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:205,67739,852,42717,158,0001,009,0002,269,184
2Jan 11, 2025 06:205,68342,929,19016,165,0002,020,0002,289,664
3Jan 11, 2025 06:205,68438,577,55716,168,0002,021,0002,289,664
4Jan 11, 2025 06:205,69344,967,73316,192,0002,024,0002,273,280
5Jan 11, 2025 06:205,70039,954,35916,214,0002,026,0002,289,664
6Jan 11, 2025 06:205,70536,991,17217,242,0001,014,0002,289,664
7Jan 11, 2025 06:205,72240,962,88216,276,0002,034,0002,289,664
8Jan 11, 2025 06:205,72438,270,71616,282,0002,035,0002,289,664
9Jan 11, 2025 06:205,74040,001,32716,327,0002,040,0002,289,664